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.568/1.568, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001029/0.001029, allocations: 194.3 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.2 MB / 0.572 GB, free: 10.57 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.0008353/0.0008352, allocations: 98.41 kB / 0.6764 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.926e-05, allocations: 8 kB / 0.7879 GB, free: 97.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 106.3 MB / 0.8918 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6915/0.9013, allocations: 159 MB / 1.047 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.9017, allocations: 89 kB / 1.047 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.06619/0.9679, allocations: 28.25 MB / 1.075 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9679, allocations: 7.938 kB / 1.075 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.228e-05/0.9679, allocations: 15.94 kB / 1.075 GB, free: 1.785 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.001174/0.9691, allocations: 0.7189 MB / 1.075 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.9692, allocations: 8.031 kB / 1.075 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.9703, allocations: 183.1 kB / 1.076 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.9709, allocations: 367.1 kB / 1.076 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.9709, allocations: 31.05 kB / 1.076 GB, free: 492 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.971, allocations: 41.86 kB / 1.076 GB, free: 460 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.972, allocations: 0.7651 MB / 1.077 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.9721, allocations: 11.84 kB / 1.077 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.9721, allocations: 14.56 kB / 1.077 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.678e-05/0.9722, allocations: 51.12 kB / 1.077 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/0.973, allocations: 0.5819 MB / 1.077 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.9768, allocations: 4.6 MB / 1.082 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007841/0.9776, allocations: 473.4 kB / 1.082 GB, free: 10.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.978, allocations: 249.5 kB / 1.083 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.978, allocations: 7.984 kB / 1.083 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.9781, allocations: 46.06 kB / 1.083 GB, free: 10.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.235e-06/0.9781, allocations: 0 / 1.083 GB, free: 10.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.00107/0.9791, allocations: 0.611 MB / 1.083 GB, free: 9.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.9792, allocations: 89.03 kB / 1.083 GB, free: 9.477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.9795, allocations: 316.1 kB / 1.084 GB, free: 9.219 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.9796, allocations: 28.77 kB / 1.084 GB, free: 9.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.9798, allocations: 287.1 kB / 1.084 GB, free: 8.949 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.599e-05/0.9799, allocations: 123.3 kB / 1.084 GB, free: 8.844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.9799, allocations: 15.12 kB / 1.084 GB, free: 8.836 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.9801, allocations: 351.7 kB / 1.084 GB, free: 8.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.9804, allocations: 218.3 kB / 1.085 GB, free: 8.359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.9808, allocations: 440.2 kB / 1.085 GB, free: 7.914 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.9812, allocations: 291.8 kB / 1.085 GB, free: 7.707 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9812, allocations: 0 / 1.085 GB, free: 7.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009837/0.9822, allocations: 0.7036 MB / 1.086 GB, free: 7.164 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001147/0.9834, allocations: 2.792 MB / 1.089 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.9834, allocations: 8 kB / 1.089 GB, free: 4.199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.9834, allocations: 12 kB / 1.089 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.9841, allocations: 170.9 kB / 1.089 GB, free: 4.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.9842, allocations: 8 kB / 1.089 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.9846, allocations: 71.33 kB / 1.089 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.9847, allocations: 27.75 kB / 1.089 GB, free: 3.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.9847, allocations: 4 kB / 1.089 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007601/0.9854, allocations: 0.5408 MB / 1.09 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.9855, allocations: 8 kB / 1.09 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.9855, allocations: 8 kB / 1.09 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.986, allocations: 150.8 kB / 1.09 GB, free: 3.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.986, allocations: 11.94 kB / 1.09 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.9864, allocations: 63.27 kB / 1.09 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.9864, allocations: 23.25 kB / 1.09 GB, free: 3.277 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.000142/0.9866, allocations: 139.2 kB / 1.09 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.9867, allocations: 47.42 kB / 1.09 GB, free: 3.102 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.9876, allocations: 0.5202 MB / 1.09 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.9876, allocations: 8 kB / 1.09 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.9876, allocations: 7.938 kB / 1.09 GB, free: 2.707 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9876, allocations: 3.984 kB / 1.091 GB, free: 2.703 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.9899, allocations: 1.546 MB / 1.092 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9899, allocations: 4 kB / 1.092 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.9905, allocations: 124.3 kB / 1.092 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.9905, allocations: 11.95 kB / 1.092 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.9905, allocations: 12 kB / 1.092 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.9905, allocations: 15.91 kB / 1.092 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9905, allocations: 4 kB / 1.092 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/0.9915, allocations: 0.9033 MB / 1.093 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.9918, allocations: 168.4 kB / 1.093 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.9918, allocations: 19.94 kB / 1.093 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.9922, allocations: 47.94 kB / 1.093 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.9923, allocations: 39.84 kB / 1.093 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.9924, allocations: 12 kB / 1.093 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002392/0.9926, allocations: 249.2 kB / 1.094 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9926, allocations: 0 / 1.094 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007763/0.9934, allocations: 208.1 kB / 1.094 GB, free: 15.2 MB / 0.7136 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.0001743/0.9936, allocations: 127 kB / 1.094 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.9948, allocations: 0.8307 MB / 1.095 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9948, allocations: 0 / 1.095 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.9951, allocations: 243.8 kB / 1.095 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.9957, allocations: 96.97 kB / 1.095 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.997, allocations: 0.7849 MB / 1.096 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.9975, allocations: 0.8791 MB / 1.097 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005896/0.9981, allocations: 215.9 kB / 1.097 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.9982, allocations: 35.42 kB / 1.097 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.9982, allocations: 0 / 1.097 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.009896/1.008, allocations: 5.985 MB / 1.103 GB, free: 5.957 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)