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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001033/0.001033, allocations: 187.6 kB / 487.4 MB, free: 5.039 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.626/1.626, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 91.84 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.416e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.416, allocations: 176.1 MB / 1.378 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.417, allocations: 91.17 kB / 1.378 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0648/1.481, allocations: 30.82 MB / 1.408 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.481, allocations: 0 / 1.408 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.113e-05/1.481, allocations: 12 kB / 1.408 GB, free: 20.19 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.001355/1.483, allocations: 0.7206 MB / 1.409 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.483, allocations: 12.02 kB / 1.409 GB, free: 19.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/1.484, allocations: 171.2 kB / 1.409 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/1.485, allocations: 374.1 kB / 1.409 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/1.485, allocations: 16 kB / 1.409 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/1.485, allocations: 24 kB / 1.409 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006453/1.485, allocations: 458.8 kB / 1.41 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/1.486, allocations: 0.7109 MB / 1.411 GB, free: 17.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.486, allocations: 15.94 kB / 1.411 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/1.486, allocations: 4 kB / 1.411 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/1.486, allocations: 52.44 kB / 1.411 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/1.49, allocations: 4.516 MB / 1.415 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/1.49, allocations: 446.5 kB / 1.415 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/1.491, allocations: 243.6 kB / 1.416 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/1.491, allocations: 7.828 kB / 1.416 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.491, allocations: 43.03 kB / 1.416 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/1.491, allocations: 0 / 1.416 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001048/1.492, allocations: 0.5905 MB / 1.416 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.492, allocations: 77.11 kB / 1.416 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/1.492, allocations: 281 kB / 1.417 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/1.492, allocations: 25.7 kB / 1.417 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/1.492, allocations: 298.9 kB / 1.417 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/1.493, allocations: 114.9 kB / 1.417 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/1.493, allocations: 0 / 1.417 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.493, allocations: 351.7 kB / 1.417 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/1.493, allocations: 210.5 kB / 1.418 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/1.494, allocations: 428 kB / 1.418 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/1.494, allocations: 282.1 kB / 1.418 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/1.494, allocations: 11.89 kB / 1.418 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008956/1.495, allocations: 0.6421 MB / 1.419 GB, free: 9.945 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/1.496, allocations: 2.784 MB / 1.422 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.496, allocations: 8 kB / 1.422 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/1.496, allocations: 15.95 kB / 1.422 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/1.497, allocations: 166.9 kB / 1.422 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.497, allocations: 19.94 kB / 1.422 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/1.497, allocations: 59.77 kB / 1.422 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/1.497, allocations: 23.06 kB / 1.422 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/1.497, allocations: 4 kB / 1.422 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007181/1.498, allocations: 479.8 kB / 1.422 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.498, allocations: 8.156 kB / 1.422 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.498, allocations: 19.98 kB / 1.422 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/1.499, allocations: 146.6 kB / 1.423 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/1.499, allocations: 12 kB / 1.423 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/1.499, allocations: 43.8 kB / 1.423 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/1.499, allocations: 26.06 kB / 1.423 GB, free: 6.105 MB / 0.8386 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.0001459/1.499, allocations: 140 kB / 1.423 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.499, allocations: 35.53 kB / 1.423 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/1.5, allocations: 495.9 kB / 1.423 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.5, allocations: 4 kB / 1.423 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.5, allocations: 4 kB / 1.423 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.5, allocations: 3.984 kB / 1.423 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/1.502, allocations: 1.448 MB / 1.425 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.502, allocations: 4 kB / 1.425 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/1.503, allocations: 111.8 kB / 1.425 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.046e-06/1.503, allocations: 8 kB / 1.425 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/1.503, allocations: 4.438 kB / 1.425 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/1.503, allocations: 11.94 kB / 1.425 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.503, allocations: 7.953 kB / 1.425 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/1.504, allocations: 0.8966 MB / 1.426 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/1.504, allocations: 163 kB / 1.426 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/1.504, allocations: 7.984 kB / 1.426 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.504, allocations: 47.94 kB / 1.426 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/1.504, allocations: 35.3 kB / 1.426 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/1.504, allocations: 11 kB / 1.426 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002043/1.505, allocations: 222.3 kB / 1.426 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.505, allocations: 0 / 1.426 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008221/1.505, allocations: 175.9 kB / 1.426 GB, free: 2.625 MB / 0.8386 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.0001805/1.506, allocations: 127.2 kB / 1.426 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001071/1.507, allocations: 0.7723 MB / 1.427 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.507, allocations: 0 / 1.427 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/1.507, allocations: 235.2 kB / 1.427 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/1.508, allocations: 91.56 kB / 1.428 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.509, allocations: 0.7805 MB / 1.428 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/1.51, allocations: 0.8875 MB / 1.429 GB, free: 40 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006695/1.51, allocations: 207.2 kB / 1.429 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.511, allocations: 35.42 kB / 1.429 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/1.511, allocations: 0 / 1.429 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.0109/1.522, allocations: 5.699 MB / 1.435 GB, free: 10.16 MB / 0.8542 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)