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.001723/0.001723, allocations: 105.7 kB / 16.41 MB, free: 6.496 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.001854/0.001854, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.507/1.507, allocations: 222.9 MB / 241 MB, free: 15.14 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.311/2.311, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8573/0.8594, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005896/0.8654, allocations: 4.329 MB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004736/0.8702, allocations: 2.821 MB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.8706, allocations: 11.25 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.8718, allocations: 367.8 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.8731, allocations: 425.5 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.8748, allocations: 0.5187 MB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.8761, allocations: 0.7157 MB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.8768, allocations: 377.4 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005364/0.8774, allocations: 283.1 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.8781, allocations: 348.4 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.8782, allocations: 39.69 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.879, allocations: 340.8 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.8793, allocations: 199.6 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.8796, allocations: 264.7 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.8809, allocations: 0.7673 MB / 1.1 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8809, allocations: 1.062 kB / 1.1 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8809, allocations: 0 / 1.1 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.8809, allocations: 0 / 1.1 GB, free: 14.65 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.001733/0.8826, allocations: 0.84 MB / 1.101 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.8827, allocations: 13.41 kB / 1.101 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.8843, allocations: 215.5 kB / 1.101 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.885, allocations: 379.5 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.885, allocations: 37.92 kB / 1.102 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.8851, allocations: 44.33 kB / 1.102 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.8869, allocations: 0.8641 MB / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.8869, allocations: 10.45 kB / 1.102 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/0.887, allocations: 19.03 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.8871, allocations: 64.41 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.8889, allocations: 0.7132 MB / 1.103 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.8935, allocations: 4.524 MB / 1.108 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.8953, allocations: 0.6623 MB / 1.108 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/0.896, allocations: 322 kB / 1.109 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.896, allocations: 12.55 kB / 1.109 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.8961, allocations: 33.98 kB / 1.109 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=38): time 2.195e-06/0.8961, allocations: 0 / 1.109 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39): time 0.002659/0.8988, allocations: 1.005 MB / 1.11 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.8988, allocations: 82.47 kB / 1.11 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.8992, allocations: 349.9 kB / 1.11 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.8993, allocations: 40.02 kB / 1.11 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.8995, allocations: 282.8 kB / 1.11 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.8997, allocations: 140 kB / 1.11 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.8999, allocations: 114.6 kB / 1.111 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9, allocations: 352.6 kB / 1.111 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.9008, allocations: 298.7 kB / 1.111 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008437/0.9016, allocations: 0.4894 MB / 1.112 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.9033, allocations: 0.8114 MB / 1.112 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.9033, allocations: 2.469 kB / 1.112 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001995/0.9053, allocations: 0.8307 MB / 1.113 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.9053, allocations: 8.297 kB / 1.113 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.9053, allocations: 7 kB / 1.113 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.945e-05/0.9054, allocations: 10.25 kB / 1.113 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/0.9064, allocations: 179.8 kB / 1.113 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.9064, allocations: 15.34 kB / 1.113 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.907, allocations: 74.89 kB / 1.114 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.9071, allocations: 28.69 kB / 1.114 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008858/0.908, allocations: 385.1 kB / 1.114 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007699/0.9088, allocations: 458 kB / 1.114 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0014/0.9102, allocations: 0.7141 MB / 1.115 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.314e-06/0.9102, allocations: 6.562 kB / 1.115 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001703/0.9119, allocations: 0.7204 MB / 1.116 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.9119, allocations: 8.75 kB / 1.116 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.912, allocations: 11.94 kB / 1.116 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.912, allocations: 9.938 kB / 1.116 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.9127, allocations: 162.4 kB / 1.116 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.9127, allocations: 12.39 kB / 1.116 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.9133, allocations: 74.48 kB / 1.116 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.9134, allocations: 27.47 kB / 1.116 GB, free: 4.555 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.0002719/0.9136, allocations: 230.9 kB / 1.116 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.9138, allocations: 43.41 kB / 1.116 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.9155, allocations: 0.694 MB / 1.117 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.9155, allocations: 5.281 kB / 1.117 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9155, allocations: 0 / 1.117 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.9155, allocations: 3.531 kB / 1.117 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.9182, allocations: 1.486 MB / 1.118 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.9183, allocations: 7.125 kB / 1.118 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/0.919, allocations: 147.4 kB / 1.119 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.919, allocations: 3.656 kB / 1.119 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.9191, allocations: 16.16 kB / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.9191, allocations: 4.406 kB / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9191, allocations: 2.375 kB / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.9205, allocations: 0.8093 MB / 1.119 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.9208, allocations: 168.6 kB / 1.12 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/0.9209, allocations: 13.34 kB / 1.12 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.9214, allocations: 59.23 kB / 1.12 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.9215, allocations: 36.48 kB / 1.12 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.9216, allocations: 10.38 kB / 1.12 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004009/0.922, allocations: 271.9 kB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.922, allocations: 0 / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009843/0.923, allocations: 202.2 kB / 1.12 GB, free: 2.492 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.0001521/0.9231, allocations: 116.1 kB / 1.12 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.9255, allocations: 1.017 MB / 1.121 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9256, allocations: 0 / 1.121 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006567/0.9262, allocations: 319.2 kB / 1.122 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.9271, allocations: 134.2 kB / 1.122 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.9293, allocations: 1.097 MB / 1.123 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.9298, allocations: 0.8746 MB / 1.124 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.9301, allocations: 48.28 kB / 1.124 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of SimCode: time 6.11e-07/0.9301, allocations: 0 / 1.124 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of Templates: time 0.01401/0.9441, allocations: 7.092 MB / 1.131 GB, free: 60 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)