Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001646/0.001646, allocations: 104.4 kB / 15.99 MB, free: 6.359 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.001697/0.001697, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.458/1.458, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 482.4 MB / 0.755 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 68.97 kB / 0.924 GB, free: 336 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8783, allocations: 162.2 MB / 1.082 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006659/0.885, allocations: 4.359 MB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005377/0.8904, allocations: 2.797 MB / 1.089 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.8909, allocations: 10.09 kB / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.8922, allocations: 350.3 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.8935, allocations: 388.8 kB / 1.09 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.8952, allocations: 484.2 kB / 1.091 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.8966, allocations: 0.7165 MB / 1.091 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008193/0.8974, allocations: 411.7 kB / 1.092 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.898, allocations: 283 kB / 1.092 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006985/0.8987, allocations: 366.9 kB / 1.092 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.214e-05/0.8988, allocations: 39.22 kB / 1.092 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008529/0.8997, allocations: 345.4 kB / 1.093 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.8999, allocations: 196.2 kB / 1.093 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.9003, allocations: 263.9 kB / 1.093 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009788/0.9013, allocations: 0.5847 MB / 1.094 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9013, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9013, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.9013, allocations: 1.062 kB / 1.094 GB, free: 10.88 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001945/0.9033, allocations: 0.8426 MB / 1.095 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.9033, allocations: 9.406 kB / 1.095 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.905, allocations: 216.2 kB / 1.095 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006366/0.9056, allocations: 372.5 kB / 1.095 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.9057, allocations: 33.64 kB / 1.095 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.9058, allocations: 44.41 kB / 1.095 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.9076, allocations: 0.86 MB / 1.096 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.9076, allocations: 6.156 kB / 1.096 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.9077, allocations: 27.62 kB / 1.096 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.9078, allocations: 65.05 kB / 1.096 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.9096, allocations: 0.712 MB / 1.097 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005803/0.9154, allocations: 4.538 MB / 1.101 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.9173, allocations: 0.6598 MB / 1.102 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.918, allocations: 324.4 kB / 1.102 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.9181, allocations: 12.02 kB / 1.102 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.9181, allocations: 37.84 kB / 1.102 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=38): time 6.502e-06/0.9182, allocations: 3.984 kB / 1.102 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39): time 0.002783/0.9209, allocations: 1.002 MB / 1.103 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.921, allocations: 85.77 kB / 1.103 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.9215, allocations: 349.9 kB / 1.104 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.9216, allocations: 35.73 kB / 1.104 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.9219, allocations: 278.6 kB / 1.104 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.922, allocations: 149 kB / 1.104 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.9223, allocations: 109.5 kB / 1.104 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.9225, allocations: 353.4 kB / 1.104 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007241/0.9233, allocations: 294.7 kB / 1.105 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009205/0.9242, allocations: 0.4966 MB / 1.105 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.9259, allocations: 0.8038 MB / 1.106 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.9259, allocations: 5.969 kB / 1.106 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001988/0.9279, allocations: 0.8267 MB / 1.107 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.9279, allocations: 8.25 kB / 1.107 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.9279, allocations: 7.391 kB / 1.107 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.928, allocations: 9.625 kB / 1.107 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.9289, allocations: 184.1 kB / 1.107 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.9289, allocations: 15.12 kB / 1.107 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/0.9296, allocations: 74.95 kB / 1.107 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.9297, allocations: 29.31 kB / 1.107 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000872/0.9306, allocations: 385.1 kB / 1.108 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008119/0.9314, allocations: 456.1 kB / 1.108 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001482/0.9329, allocations: 0.717 MB / 1.109 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-06/0.9329, allocations: 6.344 kB / 1.109 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001778/0.9347, allocations: 0.7248 MB / 1.109 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9347, allocations: 12.59 kB / 1.109 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.9347, allocations: 7.891 kB / 1.109 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.9348, allocations: 15.5 kB / 1.109 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.9355, allocations: 157.9 kB / 1.11 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/0.9355, allocations: 15.91 kB / 1.11 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.9361, allocations: 74.8 kB / 1.11 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.9362, allocations: 28 kB / 1.11 GB, free: 0.7734 MB / 0.8419 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.000341/0.9365, allocations: 218.2 kB / 1.11 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.9367, allocations: 44.62 kB / 1.11 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.9385, allocations: 0.705 MB / 1.111 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9386, allocations: 4.219 kB / 1.111 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9386, allocations: 1 kB / 1.111 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.9386, allocations: 3.766 kB / 1.111 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.9417, allocations: 1.476 MB / 1.112 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.9417, allocations: 7.109 kB / 1.112 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008629/0.9426, allocations: 143.4 kB / 1.112 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.9426, allocations: 2.844 kB / 1.112 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.9426, allocations: 16.86 kB / 1.112 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.9427, allocations: 4.188 kB / 1.112 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.9427, allocations: 6.922 kB / 1.112 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.9443, allocations: 0.812 MB / 1.113 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.9446, allocations: 169.4 kB / 1.113 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.9447, allocations: 18.17 kB / 1.113 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/0.9453, allocations: 57.84 kB / 1.113 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.9454, allocations: 36.59 kB / 1.113 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.9455, allocations: 10.14 kB / 1.113 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004607/0.9459, allocations: 268.3 kB / 1.114 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9459, allocations: 0 / 1.114 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001076/0.947, allocations: 202 kB / 1.114 GB, free: 14.72 MB / 0.8575 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.0001791/0.9472, allocations: 112.2 kB / 1.114 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002594/0.9498, allocations: 1.074 MB / 1.115 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.9498, allocations: 4 kB / 1.115 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.9505, allocations: 310.5 kB / 1.115 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/0.9514, allocations: 135.5 kB / 1.115 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.9539, allocations: 1.304 MB / 1.117 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.9546, allocations: 0.8775 MB / 1.117 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.9548, allocations: 48.11 kB / 1.118 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.9548, allocations: 0 / 1.118 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of Templates: time 0.0138/0.9686, allocations: 7.049 MB / 1.124 GB, free: 9.938 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)