Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009646, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007178/0.007178, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 13.62 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005386/0.3432, allocations: 4.987 MB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005733/0.349, allocations: 4.08 MB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.3495, allocations: 15.88 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.3498, allocations: 91.25 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.3511, allocations: 0.6303 MB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3523, allocations: 0.4906 MB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.3538, allocations: 1.634 MB / 1.086 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.355, allocations: 0.694 MB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.3555, allocations: 390.4 kB / 1.087 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.3562, allocations: 0.5293 MB / 1.087 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.3563, allocations: 36 kB / 1.087 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.3579, allocations: 1.01 MB / 1.088 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.3582, allocations: 299.2 kB / 1.089 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.3586, allocations: 411.5 kB / 1.089 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.36, allocations: 1.414 MB / 1.09 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.36, allocations: 0 / 1.09 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.707e-06/0.36, allocations: 0 / 1.09 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.36, allocations: 3.938 kB / 1.09 GB, free: 6.742 MB / 0.8419 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.001748/0.3618, allocations: 1.017 MB / 1.091 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3618, allocations: 15.97 kB / 1.091 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009737/0.3715, allocations: 1.716 MB / 1.093 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.3727, allocations: 0.6196 MB / 1.094 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.3727, allocations: 45.55 kB / 1.094 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.3729, allocations: 60.36 kB / 1.094 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004793/0.3777, allocations: 1.929 MB / 1.096 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.3778, allocations: 3.938 kB / 1.096 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.3779, allocations: 27.98 kB / 1.096 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003376/0.3782, allocations: 153.4 kB / 1.096 GB, free: 1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007662/0.3859, allocations: 2.632 MB / 1.098 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009235/0.3952, allocations: 6.676 MB / 1.105 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.3985, allocations: 1.277 MB / 1.106 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002515/0.401, allocations: 0.9187 MB / 1.107 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002092/0.4031, allocations: 1.48 MB / 1.109 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.4032, allocations: 38.56 kB / 1.109 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=73): time 2.665e-06/0.4032, allocations: 0 / 1.109 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=107): time 0.02847/0.4317, allocations: 8.399 MB / 1.117 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.4318, allocations: 86.11 kB / 1.117 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/0.4325, allocations: 0.5808 MB / 1.117 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.4327, allocations: 45.7 kB / 1.117 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.4329, allocations: 423 kB / 1.118 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.4332, allocations: 366.7 kB / 1.118 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.4334, allocations: 101.7 kB / 1.118 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4336, allocations: 394.8 kB / 1.119 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/0.4366, allocations: 1.119 MB / 1.12 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.4397, allocations: 1.48 MB / 1.121 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006347/0.4461, allocations: 2.62 MB / 1.124 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.4461, allocations: 7.984 kB / 1.124 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0118/0.4579, allocations: 3.916 MB / 1.128 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000408/0.4584, allocations: 400.6 kB / 1.128 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.4584, allocations: 12 kB / 1.128 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005473/0.4639, allocations: 1.38 MB / 1.129 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.4662, allocations: 467.2 kB / 1.13 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.481, allocations: 11.25 MB / 1.141 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.4835, allocations: 315.6 kB / 1.141 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.4837, allocations: 67.97 kB / 1.141 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.4837, allocations: 4 kB / 1.141 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01024/0.4939, allocations: 3.604 MB / 1.145 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-05/0.494, allocations: 16 kB / 1.145 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/0.498, allocations: 1.096 MB / 1.146 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.5004, allocations: 487.1 kB / 1.146 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.5132, allocations: 10.35 MB / 1.156 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.5157, allocations: 311.6 kB / 1.157 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.5159, allocations: 63.97 kB / 1.157 GB, free: 0.5469 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006564/0.5166, allocations: 376.7 kB / 1.157 GB, free: 172 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.5168, allocations: 90.91 kB / 1.157 GB, free: 80 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.528, allocations: 3.786 MB / 1.161 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.528, allocations: 12 kB / 1.161 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/0.5281, allocations: 8 kB / 1.161 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.5281, allocations: 7.969 kB / 1.161 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.5427, allocations: 5.496 MB / 1.166 GB, free: 6.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/0.5427, allocations: 7.938 kB / 1.166 GB, free: 6.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/0.5451, allocations: 364.1 kB / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006599/0.5518, allocations: 1.248 MB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002902/0.5521, allocations: 31.98 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02043/0.5725, allocations: 10.75 MB / 1.178 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.5726, allocations: 4 kB / 1.178 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.5871, allocations: 3.684 MB / 1.182 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.5883, allocations: 339.9 kB / 1.182 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.5887, allocations: 24.56 kB / 1.182 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/0.5918, allocations: 323.5 kB / 1.183 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/0.5925, allocations: 104.1 kB / 1.183 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/0.5927, allocations: 43.97 kB / 1.183 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001108/0.5939, allocations: 418.7 kB / 1.183 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5939, allocations: 0 / 1.183 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003818/0.5977, allocations: 0.6015 MB / 1.184 GB, free: 4.004 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004027/0.5981, allocations: 139.6 kB / 1.184 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01937/0.6175, allocations: 5.749 MB / 1.19 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/0.6176, allocations: 0 / 1.19 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005483/0.6231, allocations: 2.131 MB / 1.192 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.6247, allocations: 155.9 kB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.6357, allocations: 3.899 MB / 1.196 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/0.6365, allocations: 1.11 MB / 1.197 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002054/0.6386, allocations: 0.5461 MB / 1.197 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.6389, allocations: 87.31 kB / 1.197 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of SimCode: time 1.583e-06/0.6389, allocations: 0 / 1.197 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.04455/0.6835, allocations: 26.87 MB / 1.223 GB, free: 11.16 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)