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.487/2.487, allocations: 390.3 MB / 405.3 MB, free: 13.27 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.001169/0.001169, allocations: 185 kB / 498.1 MB, free: 5.531 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.461/1.461, allocations: 223.2 MB / 0.7949 GB, free: 17.85 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.000933/0.000933, allocations: 111.9 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 6.844 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2844, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.4874, allocations: 176.8 MB / 1.396 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.4878, allocations: 95.88 kB / 1.396 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07515/0.5629, allocations: 31.1 MB / 1.426 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.623e-06/0.563, allocations: 0 / 1.426 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.606e-05/0.563, allocations: 19.98 kB / 1.426 GB, free: 1.574 MB / 0.9167 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.001375/0.5644, allocations: 0.76 MB / 1.427 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.5645, allocations: 8.031 kB / 1.427 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.5656, allocations: 183.1 kB / 1.427 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.5662, allocations: 358 kB / 1.427 GB, free: 192 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.5663, allocations: 44.86 kB / 1.427 GB, free: 148 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.5664, allocations: 32 kB / 1.427 GB, free: 116 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6482/1.215, allocations: 0.812 MB / 1.428 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/1.215, allocations: 4.5 kB / 1.428 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/1.215, allocations: 21.03 kB / 1.428 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.493e-05/1.215, allocations: 50.14 kB / 1.428 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/1.216, allocations: 0.6519 MB / 1.429 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/1.22, allocations: 4.606 MB / 1.433 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.221, allocations: 0.4967 MB / 1.434 GB, free: 181 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/1.221, allocations: 2.594 kB / 1.434 GB, free: 181 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.221, allocations: 41.08 kB / 1.434 GB, free: 181 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 4.338e-06/1.221, allocations: 0 / 1.434 GB, free: 181 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.001968/1.223, allocations: 0.8945 MB / 1.435 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.223, allocations: 87.86 kB / 1.435 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/1.223, allocations: 322.2 kB / 1.435 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/1.223, allocations: 30.33 kB / 1.435 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/1.224, allocations: 289.9 kB / 1.435 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.224, allocations: 125.6 kB / 1.436 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/1.224, allocations: 12.25 kB / 1.436 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/1.224, allocations: 349.5 kB / 1.436 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/1.224, allocations: 256.7 kB / 1.436 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/1.225, allocations: 480.8 kB / 1.437 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/1.226, allocations: 325.7 kB / 1.437 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.226, allocations: 1.938 kB / 1.437 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00165/1.227, allocations: 0.7787 MB / 1.438 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006203/1.228, allocations: 2.788 MB / 1.44 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.228, allocations: 8.938 kB / 1.44 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/1.228, allocations: 11.34 kB / 1.44 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/1.229, allocations: 170.2 kB / 1.441 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/1.229, allocations: 14.09 kB / 1.441 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/1.229, allocations: 78.33 kB / 1.441 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/1.229, allocations: 26.52 kB / 1.441 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/1.229, allocations: 3.875 kB / 1.441 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/1.231, allocations: 0.6082 MB / 1.441 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.231, allocations: 11.78 kB / 1.441 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.231, allocations: 11.83 kB / 1.441 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/1.231, allocations: 144.6 kB / 1.442 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/1.231, allocations: 19.94 kB / 1.442 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/1.232, allocations: 56.45 kB / 1.442 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/1.232, allocations: 29.72 kB / 1.442 GB, free: 176.8 MB / 0.9167 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.0003445/1.232, allocations: 280.7 kB / 1.442 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/1.232, allocations: 39.56 kB / 1.442 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/1.234, allocations: 0.598 MB / 1.442 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.234, allocations: 4.609 kB / 1.442 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.234, allocations: 6.016 kB / 1.443 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.234, allocations: 4.906 kB / 1.443 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/1.236, allocations: 1.626 MB / 1.444 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.236, allocations: 2.594 kB / 1.444 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/1.237, allocations: 118.6 kB / 1.444 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/1.237, allocations: 7.75 kB / 1.444 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/1.237, allocations: 14.14 kB / 1.444 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/1.237, allocations: 5.328 kB / 1.444 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.237, allocations: 12.41 kB / 1.444 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.238, allocations: 0.9819 MB / 1.445 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/1.239, allocations: 168.3 kB / 1.445 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/1.239, allocations: 15.33 kB / 1.445 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/1.239, allocations: 51.47 kB / 1.445 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.239, allocations: 37.22 kB / 1.445 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/1.239, allocations: 13.28 kB / 1.445 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003136/1.24, allocations: 253.8 kB / 1.446 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.01e-07/1.24, allocations: 0 / 1.446 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001069/1.241, allocations: 203.4 kB / 1.446 GB, free: 175.1 MB / 0.9167 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.0001683/1.241, allocations: 130.9 kB / 1.446 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001831/1.243, allocations: 0.9159 MB / 1.447 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.243, allocations: 2.156 kB / 1.447 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005707/1.243, allocations: 282.5 kB / 1.447 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/1.244, allocations: 105.6 kB / 1.447 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/1.246, allocations: 1.219 MB / 1.448 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/1.247, allocations: 0.8838 MB / 1.449 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007412/1.247, allocations: 202.5 kB / 1.45 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/1.248, allocations: 35.17 kB / 1.45 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.002e-06/1.248, allocations: 4 kB / 1.45 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.01324/1.261, allocations: 5.551 MB / 1.455 GB, free: 173.3 MB / 0.9167 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)