Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 109 kB / 16.41 MB, free: 6.027 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.001663/0.001663, allocations: 186.6 kB / 17.34 MB, free: 5.633 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 55.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9282/0.9297, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005936/0.9357, allocations: 4.341 MB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.9406, allocations: 2.812 MB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003942/0.941, allocations: 10.88 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.9422, allocations: 376.9 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.9435, allocations: 415.7 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.9452, allocations: 0.5179 MB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.9465, allocations: 0.7172 MB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.9472, allocations: 377.9 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.9477, allocations: 278 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000671/0.9484, allocations: 352.2 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.9485, allocations: 39.78 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008421/0.9493, allocations: 340.8 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.9496, allocations: 196.3 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.9499, allocations: 263.5 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.9512, allocations: 0.7715 MB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9512, allocations: 1.25 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9512, allocations: 0 / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.9512, allocations: 0 / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001803/0.953, allocations: 0.8326 MB / 1.101 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9531, allocations: 12.84 kB / 1.101 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.9548, allocations: 214.2 kB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.9554, allocations: 380.5 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.9554, allocations: 35.52 kB / 1.102 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.9556, allocations: 47.95 kB / 1.102 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.9573, allocations: 0.8629 MB / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.9574, allocations: 11.12 kB / 1.102 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.9574, allocations: 19.28 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.9576, allocations: 60.42 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.9595, allocations: 0.7121 MB / 1.103 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004509/0.964, allocations: 4.529 MB / 1.108 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.9657, allocations: 0.6592 MB / 1.108 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/0.9665, allocations: 325 kB / 1.109 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.9665, allocations: 5.234 kB / 1.109 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.9666, allocations: 37.41 kB / 1.109 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=38): time 2.395e-06/0.9666, allocations: 0 / 1.109 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39): time 0.002703/0.9693, allocations: 1.009 MB / 1.11 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.9694, allocations: 85.83 kB / 1.11 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.9698, allocations: 351.3 kB / 1.11 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.9698, allocations: 34.92 kB / 1.11 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.97, allocations: 287 kB / 1.11 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.9702, allocations: 136.5 kB / 1.11 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.9704, allocations: 118.6 kB / 1.111 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.9706, allocations: 351.8 kB / 1.111 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/0.9713, allocations: 295.3 kB / 1.111 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.9721, allocations: 0.4933 MB / 1.112 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.9737, allocations: 0.8078 MB / 1.112 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.9738, allocations: 2.469 kB / 1.112 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00188/0.9756, allocations: 0.827 MB / 1.113 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.9757, allocations: 8.094 kB / 1.113 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.9757, allocations: 10.88 kB / 1.113 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-05/0.9758, allocations: 10.14 kB / 1.113 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/0.9768, allocations: 184.1 kB / 1.113 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.9768, allocations: 11.39 kB / 1.113 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.9774, allocations: 79.47 kB / 1.114 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.9775, allocations: 27.33 kB / 1.114 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008356/0.9783, allocations: 385.8 kB / 1.114 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007682/0.9791, allocations: 457.3 kB / 1.114 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00138/0.9805, allocations: 0.7182 MB / 1.115 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.807e-06/0.9805, allocations: 6.406 kB / 1.115 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001768/0.9823, allocations: 0.7249 MB / 1.116 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.9823, allocations: 8.75 kB / 1.116 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.9824, allocations: 11.38 kB / 1.116 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9824, allocations: 10.62 kB / 1.116 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.9831, allocations: 159.4 kB / 1.116 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.9831, allocations: 15.23 kB / 1.116 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.9837, allocations: 71.78 kB / 1.116 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.9837, allocations: 26.47 kB / 1.116 GB, free: 4.543 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002924/0.984, allocations: 223 kB / 1.116 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.9842, allocations: 41.53 kB / 1.116 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.9859, allocations: 0.6965 MB / 1.117 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.986, allocations: 5.25 kB / 1.117 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.986, allocations: 1.344 kB / 1.117 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.986, allocations: 2.156 kB / 1.117 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.9888, allocations: 1.484 MB / 1.118 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9888, allocations: 1.594 kB / 1.118 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.9896, allocations: 152.7 kB / 1.119 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.9896, allocations: 3.625 kB / 1.119 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.9897, allocations: 15.62 kB / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.9897, allocations: 8.391 kB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.9897, allocations: 1.125 kB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.9914, allocations: 0.8067 MB / 1.119 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.9917, allocations: 172.2 kB / 1.12 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-05/0.9918, allocations: 14.05 kB / 1.12 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.9924, allocations: 63.17 kB / 1.12 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.9926, allocations: 31.86 kB / 1.12 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.9926, allocations: 14.47 kB / 1.12 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005076/0.9931, allocations: 268.3 kB / 1.12 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9931, allocations: 0 / 1.12 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001204/0.9943, allocations: 197.1 kB / 1.12 GB, free: 2.488 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.9946, allocations: 116.9 kB / 1.12 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.9971, allocations: 1.021 MB / 1.121 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9971, allocations: 0 / 1.121 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/0.9978, allocations: 319.4 kB / 1.122 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/0.9988, allocations: 135.5 kB / 1.122 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.001, allocations: 1.088 MB / 1.123 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/1.002, allocations: 0.8816 MB / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/1.002, allocations: 48.8 kB / 1.124 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of SimCode: time 8.82e-07/1.002, allocations: 0 / 1.124 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of Templates: time 0.01624/1.018, allocations: 7.085 MB / 1.131 GB, free: 56 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)