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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008837/0.008837, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00198/0.00198, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.439/1.439, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 59.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7443, allocations: 140.3 MB / 0.9496 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.004926/0.7493, allocations: 4.372 MB / 0.9539 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003877/0.7532, allocations: 2.83 MB / 0.9566 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.7535, allocations: 13.91 kB / 0.9566 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00099/0.7545, allocations: 347.2 kB / 0.957 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.7553, allocations: 386.3 kB / 0.9573 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.7564, allocations: 483.6 kB / 0.9578 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008819/0.7573, allocations: 1.017 MB / 0.9588 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.7578, allocations: 355.1 kB / 0.9591 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.7581, allocations: 249.8 kB / 0.9594 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.7587, allocations: 358.3 kB / 0.9597 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.7587, allocations: 30.47 kB / 0.9597 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.7594, allocations: 423.5 kB / 0.9601 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.7596, allocations: 188.1 kB / 0.9603 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.7598, allocations: 250.9 kB / 0.9606 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.7604, allocations: 0.5731 MB / 0.9611 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7604, allocations: 0 / 0.9611 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.7604, allocations: 1.125 kB / 0.9611 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.7604, allocations: 0 / 0.9611 GB, free: 0.6562 MB / 0.7169 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.001467/0.7619, allocations: 0.8444 MB / 0.9619 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.762, allocations: 12.94 kB / 0.962 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.7636, allocations: 217.2 kB / 0.9622 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.7641, allocations: 373.9 kB / 0.9625 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.7641, allocations: 25.88 kB / 0.9625 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.7642, allocations: 48.72 kB / 0.9626 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.7657, allocations: 0.8686 MB / 0.9634 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.7658, allocations: 1.906 kB / 0.9634 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.7658, allocations: 23.58 kB / 0.9635 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.403e-05/0.7659, allocations: 68.86 kB / 0.9635 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.7675, allocations: 0.7125 MB / 0.9642 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004446/0.772, allocations: 4.531 MB / 0.9687 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.7737, allocations: 0.6625 MB / 0.9693 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006989/0.7744, allocations: 321.2 kB / 0.9696 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.7745, allocations: 8.016 kB / 0.9696 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.7745, allocations: 49.11 kB / 0.9697 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/0.7745, allocations: 4 kB / 0.9697 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.002481/0.777, allocations: 0.9971 MB / 0.9706 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.777, allocations: 80.86 kB / 0.9707 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.7774, allocations: 357.1 kB / 0.9711 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.7775, allocations: 30.83 kB / 0.9711 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.7777, allocations: 283.4 kB / 0.9714 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.7778, allocations: 140.3 kB / 0.9715 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.778, allocations: 109.6 kB / 0.9716 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7782, allocations: 353.4 kB / 0.9719 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.7789, allocations: 294 kB / 0.9722 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.7797, allocations: 499.9 kB / 0.9727 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.7812, allocations: 0.8161 MB / 0.9735 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.7812, allocations: 2.219 kB / 0.9735 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001839/0.7831, allocations: 0.8307 MB / 0.9743 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.7831, allocations: 9.188 kB / 0.9743 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.7831, allocations: 8.75 kB / 0.9743 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.7832, allocations: 13.8 kB / 0.9743 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.784, allocations: 182 kB / 0.9745 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.7841, allocations: 14.09 kB / 0.9745 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.7847, allocations: 80.56 kB / 0.9746 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.7848, allocations: 25.69 kB / 0.9746 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007877/0.7856, allocations: 389.5 kB / 0.975 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007163/0.7863, allocations: 457.2 kB / 0.9754 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001301/0.7876, allocations: 0.7145 MB / 0.9761 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.583e-06/0.7876, allocations: 6.219 kB / 0.9761 GB, free: 5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001588/0.7892, allocations: 0.7276 MB / 0.9768 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7892, allocations: 9.375 kB / 0.9768 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7892, allocations: 10.23 kB / 0.9769 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.7893, allocations: 10.97 kB / 0.9769 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.79, allocations: 162.3 kB / 0.977 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.79, allocations: 14.56 kB / 0.977 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.7905, allocations: 63.41 kB / 0.9771 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.7906, allocations: 33.86 kB / 0.9771 GB, free: 4.531 MB / 0.7325 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.0002211/0.7908, allocations: 221.9 kB / 0.9773 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.7909, allocations: 43.81 kB / 0.9774 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.7926, allocations: 0.6937 MB / 0.9781 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7926, allocations: 11.98 kB / 0.9781 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7926, allocations: 3.938 kB / 0.9781 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7926, allocations: 0 / 0.9781 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.7951, allocations: 1.476 MB / 0.9795 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.7951, allocations: 0 / 0.9795 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/0.7959, allocations: 151.7 kB / 0.9797 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.7959, allocations: 4 kB / 0.9797 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.796, allocations: 19.92 kB / 0.9797 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.796, allocations: 4 kB / 0.9797 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.796, allocations: 4.219 kB / 0.9797 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.7973, allocations: 0.8109 MB / 0.9805 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.7975, allocations: 168.5 kB / 0.9806 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.7976, allocations: 19.84 kB / 0.9807 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.7981, allocations: 59.91 kB / 0.9807 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.7982, allocations: 31.95 kB / 0.9808 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.7983, allocations: 12 kB / 0.9808 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003608/0.7986, allocations: 271.1 kB / 0.981 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.532e-06/0.7986, allocations: 0 / 0.981 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009592/0.7996, allocations: 203.9 kB / 0.9812 GB, free: 0.5 MB / 0.7325 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.0001435/0.7998, allocations: 111.2 kB / 0.9813 GB, free: 392 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002214/0.802, allocations: 1.007 MB / 0.9823 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.802, allocations: 4 kB / 0.9823 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.8026, allocations: 311.5 kB / 0.9826 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.8034, allocations: 117 kB / 0.9827 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.8056, allocations: 1.311 MB / 0.984 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.806, allocations: 0.8874 MB / 0.9849 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.8063, allocations: 47.42 kB / 0.9849 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.8063, allocations: 0 / 0.9849 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of Templates: time 0.00999/0.8163, allocations: 7.04 MB / 0.9918 GB, free: 5.629 MB / 0.7481 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)