Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.725/2.725, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 175.7 kB / 0.4902 GB, free: 2.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009192, allocations: 108.8 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 12.16 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3569, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/0.6064, allocations: 192.3 MB / 1.417 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004428/0.6069, allocations: 91.94 kB / 1.417 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8009/1.408, allocations: 49.96 MB / 1.466 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/1.408, allocations: 0 / 1.466 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.031e-05/1.408, allocations: 19.62 kB / 1.466 GB, free: 180.7 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002745/1.411, allocations: 1.048 MB / 1.467 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.411, allocations: 8.438 kB / 1.467 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009168/1.42, allocations: 1.631 MB / 1.469 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/1.421, allocations: 0.6184 MB / 1.469 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/1.421, allocations: 41.22 kB / 1.469 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/1.422, allocations: 63.73 kB / 1.469 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/1.426, allocations: 1.916 MB / 1.471 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/1.426, allocations: 11.84 kB / 1.471 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/1.427, allocations: 31.27 kB / 1.471 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002835/1.427, allocations: 153.3 kB / 1.471 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006877/1.434, allocations: 2.616 MB / 1.474 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009259/1.443, allocations: 6.661 MB / 1.48 GB, free: 166.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/1.446, allocations: 1.254 MB / 1.482 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/1.448, allocations: 1.496 MB / 1.483 GB, free: 163.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.448, allocations: 46.5 kB / 1.483 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=73): time 2.665e-06/1.448, allocations: 3.938 kB / 1.483 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=107): time 0.02474/1.473, allocations: 8.044 MB / 1.491 GB, free: 155.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/1.473, allocations: 94.05 kB / 1.491 GB, free: 155.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/1.474, allocations: 0.5059 MB / 1.492 GB, free: 155 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/1.474, allocations: 41.7 kB / 1.492 GB, free: 154.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/1.474, allocations: 411.1 kB / 1.492 GB, free: 154.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/1.475, allocations: 366.7 kB / 1.492 GB, free: 154.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/1.475, allocations: 32 kB / 1.492 GB, free: 154.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.475, allocations: 390.7 kB / 1.493 GB, free: 153.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/1.477, allocations: 1.107 MB / 1.494 GB, free: 152.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/1.48, allocations: 1.436 MB / 1.495 GB, free: 151 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/1.483, allocations: 1.214 MB / 1.496 GB, free: 149.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/1.483, allocations: 8 kB / 1.496 GB, free: 149.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009545/1.493, allocations: 3.772 MB / 1.5 GB, free: 146 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009291/1.494, allocations: 3.915 MB / 1.504 GB, free: 141.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/1.494, allocations: 8 kB / 1.504 GB, free: 141.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004418/1.498, allocations: 1.259 MB / 1.505 GB, free: 140.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.5, allocations: 459.2 kB / 1.506 GB, free: 140.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009864/1.51, allocations: 9.281 MB / 1.515 GB, free: 130.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/1.513, allocations: 311.5 kB / 1.515 GB, free: 130.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/1.513, allocations: 63.97 kB / 1.515 GB, free: 130 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.513, allocations: 4 kB / 1.515 GB, free: 130 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008672/1.522, allocations: 3.475 MB / 1.518 GB, free: 126.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/1.522, allocations: 15.98 kB / 1.518 GB, free: 126.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/1.525, allocations: 1.027 MB / 1.519 GB, free: 125.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/1.527, allocations: 471.2 kB / 1.52 GB, free: 125 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.537, allocations: 10.39 MB / 1.53 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.54, allocations: 303.5 kB / 1.53 GB, free: 113.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/1.54, allocations: 63.97 kB / 1.53 GB, free: 113.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007156/1.541, allocations: 392.5 kB / 1.531 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/1.541, allocations: 87.02 kB / 1.531 GB, free: 113.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009382/1.55, allocations: 3.688 MB / 1.534 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.55, allocations: 15.95 kB / 1.534 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/1.55, allocations: 11.98 kB / 1.534 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/1.55, allocations: 3.984 kB / 1.534 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/1.563, allocations: 5.402 MB / 1.54 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/1.563, allocations: 4 kB / 1.54 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.565, allocations: 367.4 kB / 1.54 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004295/1.569, allocations: 1.175 MB / 1.541 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/1.57, allocations: 27.98 kB / 1.541 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.581, allocations: 10.85 MB / 1.552 GB, free: 90.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.581, allocations: 8 kB / 1.552 GB, free: 90.94 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009048/1.59, allocations: 3.854 MB / 1.556 GB, free: 86.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009118/1.591, allocations: 339.9 kB / 1.556 GB, free: 86.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/1.591, allocations: 28 kB / 1.556 GB, free: 86.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/1.593, allocations: 315.4 kB / 1.556 GB, free: 86.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/1.594, allocations: 100.2 kB / 1.556 GB, free: 86.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.594, allocations: 47.91 kB / 1.556 GB, free: 86.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005927/1.594, allocations: 402.8 kB / 1.557 GB, free: 85.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.61e-07/1.594, allocations: 0 / 1.557 GB, free: 85.62 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00308/1.597, allocations: 0.6093 MB / 1.557 GB, free: 85.01 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003756/1.598, allocations: 155 kB / 1.558 GB, free: 84.85 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.611, allocations: 5.428 MB / 1.563 GB, free: 79.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/1.611, allocations: 0 / 1.563 GB, free: 79.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004792/1.616, allocations: 2.062 MB / 1.565 GB, free: 77.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/1.617, allocations: 135.4 kB / 1.565 GB, free: 77.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/1.627, allocations: 3.799 MB / 1.569 GB, free: 73.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/1.628, allocations: 1.123 MB / 1.57 GB, free: 72.05 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002128/1.63, allocations: 0.5343 MB / 1.57 GB, free: 71.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/1.631, allocations: 79.39 kB / 1.57 GB, free: 71.43 MB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/1.631, allocations: 0 / 1.57 GB, free: 71.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.03231/1.663, allocations: 24.61 MB / 1.594 GB, free: 46.95 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches