Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.00105, allocations: 172.9 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009352/0.0009348, allocations: 87.31 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.085e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2273, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7451/0.9725, allocations: 159.3 MB / 1.041 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.9729, allocations: 99 kB / 1.041 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.06676/1.04, allocations: 28.14 MB / 1.068 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/1.04, allocations: 0 / 1.068 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.764e-05/1.04, allocations: 12 kB / 1.068 GB, free: 4.941 MB / 0.6823 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.001289/1.041, allocations: 0.7274 MB / 1.069 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.041, allocations: 8.031 kB / 1.069 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/1.042, allocations: 183.1 kB / 1.069 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/1.043, allocations: 361.8 kB / 1.07 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/1.043, allocations: 12 kB / 1.07 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/1.043, allocations: 24 kB / 1.07 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006716/1.044, allocations: 462.4 kB / 1.07 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/1.044, allocations: 0.7077 MB / 1.071 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/1.044, allocations: 11.84 kB / 1.071 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/1.045, allocations: 4 kB / 1.071 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/1.045, allocations: 51.61 kB / 1.071 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/1.048, allocations: 4.51 MB / 1.075 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/1.049, allocations: 452.8 kB / 1.076 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/1.049, allocations: 246.2 kB / 1.076 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/1.049, allocations: 7.984 kB / 1.076 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.049, allocations: 38.25 kB / 1.076 GB, free: 13.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.835e-06/1.049, allocations: 4 kB / 1.076 GB, free: 13.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.0009571/1.05, allocations: 0.5882 MB / 1.077 GB, free: 13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/1.05, allocations: 81.11 kB / 1.077 GB, free: 12.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/1.051, allocations: 276.7 kB / 1.077 GB, free: 12.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.051, allocations: 29.7 kB / 1.077 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/1.051, allocations: 295.9 kB / 1.077 GB, free: 12.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/1.051, allocations: 116.4 kB / 1.077 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/1.051, allocations: 0 / 1.077 GB, free: 12.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.051, allocations: 349.6 kB / 1.078 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/1.051, allocations: 205 kB / 1.078 GB, free: 11.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/1.052, allocations: 435.8 kB / 1.078 GB, free: 11.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/1.052, allocations: 284.7 kB / 1.078 GB, free: 11.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.052, allocations: 3.953 kB / 1.078 GB, free: 11.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009038/1.053, allocations: 0.6406 MB / 1.079 GB, free: 10.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00113/1.054, allocations: 2.791 MB / 1.082 GB, free: 7.727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.054, allocations: 4 kB / 1.082 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/1.054, allocations: 15.95 kB / 1.082 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/1.055, allocations: 163.2 kB / 1.082 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.055, allocations: 15.94 kB / 1.082 GB, free: 7.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/1.056, allocations: 67.77 kB / 1.082 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/1.056, allocations: 27.88 kB / 1.082 GB, free: 7.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-06/1.056, allocations: 4 kB / 1.082 GB, free: 7.441 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006696/1.056, allocations: 483.5 kB / 1.083 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/1.056, allocations: 8 kB / 1.083 GB, free: 7.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/1.056, allocations: 8 kB / 1.083 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/1.057, allocations: 152 kB / 1.083 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.057, allocations: 19.92 kB / 1.083 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/1.057, allocations: 39.81 kB / 1.083 GB, free: 6.855 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/1.057, allocations: 31.86 kB / 1.083 GB, free: 6.828 MB / 0.698 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.0001411/1.057, allocations: 127.6 kB / 1.083 GB, free: 6.699 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/1.057, allocations: 39.53 kB / 1.083 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/1.058, allocations: 0.4956 MB / 1.083 GB, free: 6.293 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.058, allocations: 11.97 kB / 1.083 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.058, allocations: 0 / 1.083 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/1.058, allocations: 3.984 kB / 1.083 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/1.06, allocations: 1.447 MB / 1.085 GB, free: 5.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.06, allocations: 4 kB / 1.085 GB, free: 5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/1.061, allocations: 119.7 kB / 1.085 GB, free: 4.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/1.061, allocations: 4 kB / 1.085 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/1.061, allocations: 4 kB / 1.085 GB, free: 4.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.061, allocations: 11.94 kB / 1.085 GB, free: 4.867 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.061, allocations: 7.953 kB / 1.085 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/1.062, allocations: 0.8846 MB / 1.086 GB, free: 3.945 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/1.062, allocations: 158.6 kB / 1.086 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/1.062, allocations: 11.98 kB / 1.086 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/1.063, allocations: 39.94 kB / 1.086 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/1.063, allocations: 39.8 kB / 1.086 GB, free: 3.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/1.063, allocations: 15.88 kB / 1.086 GB, free: 3.688 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001898/1.063, allocations: 219.5 kB / 1.086 GB, free: 3.516 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.063, allocations: 0 / 1.086 GB, free: 3.516 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007944/1.064, allocations: 176.1 kB / 1.087 GB, free: 3.344 MB / 0.698 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.0001822/1.064, allocations: 119.1 kB / 1.087 GB, free: 3.219 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.065, allocations: 0.7716 MB / 1.087 GB, free: 2.664 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.065, allocations: 0 / 1.087 GB, free: 2.664 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/1.065, allocations: 237.2 kB / 1.088 GB, free: 2.492 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000594/1.066, allocations: 105.9 kB / 1.088 GB, free: 2.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/1.067, allocations: 0.7738 MB / 1.088 GB, free: 1.664 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/1.068, allocations: 0.8847 MB / 1.089 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005818/1.068, allocations: 207.2 kB / 1.09 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.068, allocations: 39.36 kB / 1.09 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.068, allocations: 0 / 1.09 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of Templates: time 0.009643/1.078, allocations: 5.701 MB / 1.095 GB, free: 10.88 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)