Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001923/0.001923, allocations: 193.7 kB / 16.14 MB, free: 6.688 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 71.33 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3342, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.007623/0.3419, allocations: 5.132 MB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006328/0.3483, allocations: 4.071 MB / 1.077 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004951/0.3488, allocations: 11.94 kB / 1.077 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.3504, allocations: 0.5255 MB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.3522, allocations: 0.6382 MB / 1.078 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.3534, allocations: 426.5 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.3548, allocations: 1.411 MB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.3555, allocations: 393.4 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.356, allocations: 358.5 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006735/0.3567, allocations: 0.4944 MB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.014e-05/0.3568, allocations: 43.94 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.3585, allocations: 0.9824 MB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.3588, allocations: 291.2 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.3592, allocations: 350.1 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.3608, allocations: 1.32 MB / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3608, allocations: 0 / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.42e-07/0.3608, allocations: 0 / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.3608, allocations: 0 / 1.084 GB, free: 10.41 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001989/0.3628, allocations: 1.081 MB / 1.085 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3628, allocations: 8.031 kB / 1.085 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00937/0.3722, allocations: 1.638 MB / 1.086 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.3733, allocations: 0.5506 MB / 1.087 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.3733, allocations: 49.67 kB / 1.087 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.3735, allocations: 64.3 kB / 1.087 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/0.3782, allocations: 1.837 MB / 1.089 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.3782, allocations: 7.938 kB / 1.089 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.3784, allocations: 27.98 kB / 1.089 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.3786, allocations: 105.5 kB / 1.089 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007357/0.3859, allocations: 2.48 MB / 1.091 GB, free: 2.395 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008831/0.3948, allocations: 6.365 MB / 1.097 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.3983, allocations: 1.366 MB / 1.099 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.4008, allocations: 0.9083 MB / 1.1 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/0.4035, allocations: 2.158 MB / 1.102 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.4036, allocations: 38.56 kB / 1.102 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=69): time 2.895e-06/0.4036, allocations: 0 / 1.102 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=93): time 0.02345/0.427, allocations: 6.605 MB / 1.108 GB, free: 376 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.4272, allocations: 191.9 kB / 1.108 GB, free: 140 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.428, allocations: 0.5288 MB / 1.109 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.4281, allocations: 41.7 kB / 1.109 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.4284, allocations: 382.8 kB / 1.109 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.4288, allocations: 327.4 kB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/0.4293, allocations: 254.5 kB / 1.11 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4295, allocations: 378.8 kB / 1.11 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.4324, allocations: 1.009 MB / 1.111 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/0.4355, allocations: 1.291 MB / 1.113 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005837/0.4413, allocations: 2.285 MB / 1.115 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.4414, allocations: 0 / 1.115 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01014/0.4515, allocations: 3.326 MB / 1.118 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.4516, allocations: 8 kB / 1.118 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.4516, allocations: 8 kB / 1.118 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004355/0.456, allocations: 1.045 MB / 1.119 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/0.4582, allocations: 459.2 kB / 1.119 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.4694, allocations: 8.929 MB / 1.128 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.4717, allocations: 307.5 kB / 1.128 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.472, allocations: 63.89 kB / 1.129 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003297/0.4753, allocations: 1.189 MB / 1.13 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003042/0.4784, allocations: 1.279 MB / 1.131 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005845/0.4842, allocations: 2.261 MB / 1.133 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.966e-05/0.4843, allocations: 4 kB / 1.133 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.00923/0.4935, allocations: 3.075 MB / 1.136 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.4936, allocations: 8 kB / 1.136 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.4936, allocations: 8 kB / 1.136 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/0.4966, allocations: 0.7563 MB / 1.137 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.4989, allocations: 491.2 kB / 1.137 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008259/0.5072, allocations: 6.65 MB / 1.144 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/0.5097, allocations: 299.5 kB / 1.144 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/0.51, allocations: 59.95 kB / 1.144 GB, free: 9.965 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005426/0.5106, allocations: 255.9 kB / 1.144 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.5109, allocations: 71.16 kB / 1.145 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009652/0.5206, allocations: 3.078 MB / 1.148 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.5207, allocations: 8 kB / 1.148 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/0.5207, allocations: 8 kB / 1.148 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.5207, allocations: 3.984 kB / 1.148 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.5328, allocations: 4.987 MB / 1.152 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5329, allocations: 4 kB / 1.152 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.5345, allocations: 364 kB / 1.153 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/0.5383, allocations: 0.9474 MB / 1.154 GB, free: 64 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.5384, allocations: 31.97 kB / 1.154 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.5489, allocations: 8.637 MB / 1.162 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.5489, allocations: 4 kB / 1.162 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009376/0.5583, allocations: 3.219 MB / 1.165 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/0.5591, allocations: 308 kB / 1.166 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.5594, allocations: 27.92 kB / 1.166 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/0.5613, allocations: 283.5 kB / 1.166 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.5617, allocations: 87.77 kB / 1.166 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.5618, allocations: 43.97 kB / 1.166 GB, free: 2.789 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005735/0.5623, allocations: 374.8 kB / 1.166 GB, free: 2.422 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5624, allocations: 0 / 1.166 GB, free: 2.422 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002467/0.5648, allocations: 0.5156 MB / 1.167 GB, free: 1.906 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003/0.5651, allocations: 131.1 kB / 1.167 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01126/0.5764, allocations: 4.651 MB / 1.172 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.5765, allocations: 5.062 kB / 1.172 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/0.5804, allocations: 1.718 MB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.5817, allocations: 118.3 kB / 1.173 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.5923, allocations: 3.568 MB / 1.177 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/0.5932, allocations: 1.047 MB / 1.178 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002187/0.5954, allocations: 0.4904 MB / 1.178 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.5958, allocations: 87.3 kB / 1.178 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/0.5958, allocations: 4 kB / 1.178 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of Templates: time 0.03411/0.6299, allocations: 20.79 MB / 1.199 GB, free: 1.07 MB / 0.9512 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1)