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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001331/0.001331, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001506/0.001506, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.931/2.931, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 11.88 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4007, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005602/0.4064, allocations: 3.798 MB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.411, allocations: 2.502 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004217/0.4114, allocations: 11.94 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.4118, allocations: 67.42 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.4129, allocations: 302.6 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.4143, allocations: 422.1 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.4155, allocations: 0.8178 MB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009744/0.4165, allocations: 483.4 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.417, allocations: 231.1 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007522/0.4178, allocations: 326.9 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.4179, allocations: 24 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.4185, allocations: 139.8 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.4187, allocations: 183.5 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.4189, allocations: 105.5 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007326/0.4196, allocations: 0.5379 MB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4197, allocations: 4 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4197, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.752e-05/0.4197, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8262 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.001603/0.4213, allocations: 0.756 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4214, allocations: 15.97 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/0.4223, allocations: 151.2 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.4229, allocations: 354 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.4229, allocations: 36.98 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.423, allocations: 40 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4244, allocations: 0.8399 MB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.4245, allocations: 15.78 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/0.4246, allocations: 27.97 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/0.4247, allocations: 56.97 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.426, allocations: 0.6984 MB / 1.071 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004452/0.4305, allocations: 4.488 MB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.4317, allocations: 0.6182 MB / 1.076 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/0.4323, allocations: 317.5 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.4324, allocations: 7.984 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4324, allocations: 38.56 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=38): time 2.334e-06/0.4324, allocations: 0 / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.001991/0.4344, allocations: 0.9909 MB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.4345, allocations: 89.05 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.4348, allocations: 345.5 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.4349, allocations: 29.7 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.435, allocations: 283.8 kB / 1.078 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4352, allocations: 142 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.4352, allocations: 8 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4353, allocations: 350.8 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.4359, allocations: 284.9 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/0.4365, allocations: 496 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.4371, allocations: 343.8 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4372, allocations: 4 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001501/0.4387, allocations: 0.8133 MB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.4389, allocations: 291.2 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.4389, allocations: 8 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.4389, allocations: 8 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.4396, allocations: 175.7 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.4397, allocations: 15.92 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.4401, allocations: 87.67 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.4402, allocations: 28 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.4402, allocations: 4 kB / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.4414, allocations: 0.6522 MB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4414, allocations: 8 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4414, allocations: 15.94 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.442, allocations: 159.8 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.442, allocations: 11.94 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.4424, allocations: 71.94 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.4425, allocations: 24 kB / 1.081 GB, free: 12.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003213/0.4428, allocations: 284.8 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.4429, allocations: 43.48 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.4443, allocations: 0.6846 MB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4443, allocations: 8.031 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.4443, allocations: 4 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4443, allocations: 4 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.4468, allocations: 1.487 MB / 1.084 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4468, allocations: 0 / 1.084 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.4475, allocations: 151.8 kB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.4475, allocations: 4 kB / 1.084 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.4475, allocations: 12 kB / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.4476, allocations: 7.938 kB / 1.084 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4476, allocations: 8.031 kB / 1.084 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.4489, allocations: 0.8344 MB / 1.085 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.4491, allocations: 172.4 kB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.4492, allocations: 11.98 kB / 1.085 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.4496, allocations: 63.88 kB / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.4497, allocations: 31.95 kB / 1.085 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.4497, allocations: 12 kB / 1.085 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002688/0.45, allocations: 255.1 kB / 1.085 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.45, allocations: 0 / 1.085 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000873/0.4509, allocations: 192 kB / 1.086 GB, free: 7.984 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.4511, allocations: 119.2 kB / 1.086 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002119/0.4532, allocations: 0.9981 MB / 1.087 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4532, allocations: 0 / 1.087 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.4538, allocations: 312.2 kB / 1.087 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008686/0.4547, allocations: 116.8 kB / 1.087 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.4569, allocations: 1.261 MB / 1.088 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.4574, allocations: 0.8796 MB / 1.089 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006102/0.4581, allocations: 204 kB / 1.089 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.4583, allocations: 39.42 kB / 1.089 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of SimCode: time 9.72e-07/0.4583, allocations: 0 / 1.089 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of Templates: time 0.01233/0.4706, allocations: 5.992 MB / 1.095 GB, free: 14.05 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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)