Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 179.8 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009422, allocations: 87.95 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.73e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3251, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.511, allocations: 176.9 MB / 1.385 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/1.512, allocations: 91 kB / 1.385 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06601/1.578, allocations: 30.82 MB / 1.415 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.154e-06/1.578, allocations: 0 / 1.415 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.712e-05/1.578, allocations: 12 kB / 1.415 GB, free: 13.15 MB / 0.8386 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.001557/1.579, allocations: 0.7262 MB / 1.416 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/1.579, allocations: 15.97 kB / 1.416 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/1.581, allocations: 179.1 kB / 1.416 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/1.581, allocations: 366.6 kB / 1.417 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/1.581, allocations: 12 kB / 1.417 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/1.581, allocations: 24 kB / 1.417 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007748/1.582, allocations: 463.4 kB / 1.417 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/1.583, allocations: 0.7141 MB / 1.418 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.583, allocations: 3.938 kB / 1.418 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/1.583, allocations: 4 kB / 1.418 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.799e-05/1.583, allocations: 52.5 kB / 1.418 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/1.588, allocations: 4.508 MB / 1.422 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/1.588, allocations: 456 kB / 1.423 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/1.589, allocations: 242.4 kB / 1.423 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/1.589, allocations: 11.17 kB / 1.423 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.589, allocations: 37.8 kB / 1.423 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 3.897e-06/1.589, allocations: 3.938 kB / 1.423 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001174/1.59, allocations: 0.5838 MB / 1.423 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/1.59, allocations: 81.11 kB / 1.424 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/1.59, allocations: 293.2 kB / 1.424 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/1.591, allocations: 25.7 kB / 1.424 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/1.591, allocations: 292.5 kB / 1.424 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/1.591, allocations: 114.8 kB / 1.424 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/1.591, allocations: 0 / 1.424 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.591, allocations: 347.2 kB / 1.425 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/1.591, allocations: 216 kB / 1.425 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/1.592, allocations: 425.9 kB / 1.425 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/1.592, allocations: 271.9 kB / 1.425 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.592, allocations: 4 kB / 1.425 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009816/1.593, allocations: 0.6497 MB / 1.426 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001659/1.595, allocations: 2.786 MB / 1.429 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/1.595, allocations: 11.95 kB / 1.429 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.595, allocations: 12 kB / 1.429 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/1.596, allocations: 167.6 kB / 1.429 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.596, allocations: 15.92 kB / 1.429 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/1.596, allocations: 59.78 kB / 1.429 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/1.596, allocations: 27.8 kB / 1.429 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/1.596, allocations: 4 kB / 1.429 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007118/1.597, allocations: 480.8 kB / 1.43 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.597, allocations: 8 kB / 1.43 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.597, allocations: 12 kB / 1.43 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/1.598, allocations: 147.5 kB / 1.43 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.598, allocations: 15.88 kB / 1.43 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/1.598, allocations: 52.08 kB / 1.43 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/1.598, allocations: 23.88 kB / 1.43 GB, free: 15.04 MB / 0.8542 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 () * 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.0001746/1.598, allocations: 125.2 kB / 1.43 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/1.598, allocations: 43.47 kB / 1.43 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008501/1.599, allocations: 0.4917 MB / 1.43 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.599, allocations: 4 kB / 1.43 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.599, allocations: 4 kB / 1.43 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.599, allocations: 4 kB / 1.43 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/1.601, allocations: 1.438 MB / 1.432 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.601, allocations: 4 kB / 1.432 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/1.602, allocations: 120.3 kB / 1.432 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.602, allocations: 4 kB / 1.432 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.602, allocations: 11.94 kB / 1.432 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/1.602, allocations: 15.88 kB / 1.432 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.602, allocations: 4 kB / 1.432 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009695/1.603, allocations: 0.8869 MB / 1.433 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/1.603, allocations: 167.3 kB / 1.433 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/1.603, allocations: 4 kB / 1.433 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.604, allocations: 55.5 kB / 1.433 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/1.604, allocations: 35.53 kB / 1.433 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/1.604, allocations: 12 kB / 1.433 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002292/1.604, allocations: 220.2 kB / 1.433 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/1.604, allocations: 0 / 1.433 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009383/1.605, allocations: 175.9 kB / 1.433 GB, free: 11.55 MB / 0.8542 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 () * 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.0001946/1.605, allocations: 117.5 kB / 1.434 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001163/1.606, allocations: 0.769 MB / 1.434 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.606, allocations: 6.312 kB / 1.434 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003372/1.607, allocations: 232.9 kB / 1.435 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/1.607, allocations: 106 kB / 1.435 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/1.609, allocations: 0.7668 MB / 1.435 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/1.609, allocations: 0.8814 MB / 1.436 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006336/1.61, allocations: 211.2 kB / 1.436 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/1.61, allocations: 39.17 kB / 1.437 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/1.61, allocations: 4 kB / 1.437 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of Templates: time 0.01145/1.622, allocations: 5.686 MB / 1.442 GB, free: 3.098 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)