Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001886/0.001886, allocations: 168.7 kB / 15.95 MB, free: 204 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.544/1.544, allocations: 223.3 MB / 240 MB, free: 5.402 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.456/2.456, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003666, allocations: 15.94 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.929/0.9294, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005591/0.935, allocations: 3.686 MB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004838/0.9399, allocations: 2.477 MB / 0.9605 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.9403, allocations: 9.438 kB / 0.9605 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.9407, allocations: 67.67 kB / 0.9605 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008848/0.9416, allocations: 296 kB / 0.9608 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.9427, allocations: 425.2 kB / 0.9612 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.9437, allocations: 0.7989 MB / 0.962 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007633/0.9445, allocations: 0.4914 MB / 0.9625 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.9448, allocations: 226 kB / 0.9627 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.9453, allocations: 321.8 kB / 0.963 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.9454, allocations: 18.28 kB / 0.963 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.9457, allocations: 139.4 kB / 0.9632 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.9459, allocations: 176.5 kB / 0.9633 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.893e-05/0.946, allocations: 107.1 kB / 0.9634 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.9464, allocations: 0.5207 MB / 0.9639 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9464, allocations: 1.344 kB / 0.9639 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9464, allocations: 4 kB / 0.9639 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.9464, allocations: 0 / 0.9639 GB, free: 0.625 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001066/0.9475, allocations: 0.7186 MB / 0.9646 GB, free: 12 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.9476, allocations: 9.594 kB / 0.9647 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008415/0.9484, allocations: 148.8 kB / 0.9648 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.9489, allocations: 354.7 kB / 0.9651 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.9489, allocations: 33.05 kB / 0.9652 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/0.949, allocations: 39.64 kB / 0.9652 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.9502, allocations: 0.8262 MB / 0.966 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.9503, allocations: 6.844 kB / 0.966 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.9503, allocations: 22.53 kB / 0.966 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/0.9504, allocations: 64.45 kB / 0.9661 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.9516, allocations: 0.6581 MB / 0.9667 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.9557, allocations: 4.632 MB / 0.9713 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009916/0.9568, allocations: 0.4929 MB / 0.9717 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.9573, allocations: 283.7 kB / 0.972 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.9573, allocations: 11.39 kB / 0.972 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.9573, allocations: 33.75 kB / 0.9721 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.9573, allocations: 3.938 kB / 0.9721 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.001814/0.9592, allocations: 0.9043 MB / 0.9729 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.9592, allocations: 85.75 kB / 0.973 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.9596, allocations: 362.4 kB / 0.9734 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.9597, allocations: 32.61 kB / 0.9734 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.9598, allocations: 293.8 kB / 0.9737 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.9599, allocations: 115.2 kB / 0.9738 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.96, allocations: 10.09 kB / 0.9738 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9601, allocations: 347.9 kB / 0.9741 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.9607, allocations: 256 kB / 0.9744 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.9613, allocations: 486.6 kB / 0.9748 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.9619, allocations: 319.8 kB / 0.9751 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.9619, allocations: 6.844 kB / 0.9752 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001452/0.9634, allocations: 0.7779 MB / 0.9759 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.9636, allocations: 305.1 kB / 0.9762 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.9636, allocations: 7.094 kB / 0.9762 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.9637, allocations: 15.25 kB / 0.9762 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.9643, allocations: 164.6 kB / 0.9764 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.9643, allocations: 18.45 kB / 0.9764 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.9648, allocations: 70.33 kB / 0.9765 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.9649, allocations: 26.5 kB / 0.9765 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.9649, allocations: 7.375 kB / 0.9765 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.966, allocations: 0.6147 MB / 0.9771 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.966, allocations: 6.469 kB / 0.9771 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.966, allocations: 10.84 kB / 0.9771 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.9666, allocations: 144.7 kB / 0.9773 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.9666, allocations: 18.02 kB / 0.9773 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.9669, allocations: 56.72 kB / 0.9773 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.967, allocations: 28.17 kB / 0.9774 GB, free: 6.188 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0003184/0.9673, allocations: 287.3 kB / 0.9776 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-05/0.9674, allocations: 40.53 kB / 0.9777 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.9686, allocations: 0.5868 MB / 0.9782 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.9686, allocations: 12.34 kB / 0.9783 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9686, allocations: 5.156 kB / 0.9783 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9686, allocations: 0 / 0.9783 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.9715, allocations: 1.614 MB / 0.9798 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.9715, allocations: 10.47 kB / 0.9798 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.9721, allocations: 122 kB / 0.98 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.9721, allocations: 8 kB / 0.98 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.9721, allocations: 12 kB / 0.98 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.9722, allocations: 7.938 kB / 0.98 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.9722, allocations: 4 kB / 0.98 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.9733, allocations: 0.8165 MB / 0.9808 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.9735, allocations: 164.5 kB / 0.9809 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.9736, allocations: 12 kB / 0.981 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.9739, allocations: 47.94 kB / 0.981 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.974, allocations: 43.86 kB / 0.981 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.9741, allocations: 8 kB / 0.981 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002438/0.9743, allocations: 263.1 kB / 0.9813 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9743, allocations: 0 / 0.9813 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008992/0.9752, allocations: 188 kB / 0.9815 GB, free: 2.711 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.000145/0.9754, allocations: 111 kB / 0.9816 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.977, allocations: 0.9325 MB / 0.9825 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.977, allocations: 3.938 kB / 0.9825 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.9775, allocations: 272.9 kB / 0.9828 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.9782, allocations: 116.5 kB / 0.9829 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.9799, allocations: 1.22 MB / 0.9841 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.9804, allocations: 0.8673 MB / 0.9849 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005558/0.9809, allocations: 204 kB / 0.9851 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.9811, allocations: 39.42 kB / 0.9851 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.9811, allocations: 0 / 0.9851 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.01023/0.9913, allocations: 5.535 MB / 0.9905 GB, free: 9.359 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)