Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.306/2.306, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001148/0.001148, allocations: 182.8 kB / 498.1 MB, free: 5.73 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.548/1.548, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009495/0.0009495, allocations: 100.2 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 8.5 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3073, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.5203, allocations: 178.6 MB / 1.397 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/0.5207, allocations: 99.88 kB / 1.397 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7626/1.283, allocations: 31.34 MB / 1.428 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.136e-06/1.283, allocations: 0 / 1.428 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.231e-05/1.284, allocations: 11.22 kB / 1.428 GB, free: 185.5 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001929/1.285, allocations: 0.783 MB / 1.429 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.286, allocations: 9.844 kB / 1.429 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/1.287, allocations: 182 kB / 1.429 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/1.287, allocations: 373.6 kB / 1.429 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/1.287, allocations: 35.11 kB / 1.429 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/1.288, allocations: 49.78 kB / 1.429 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/1.289, allocations: 0.8167 MB / 1.43 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/1.289, allocations: 12 kB / 1.43 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/1.289, allocations: 22.86 kB / 1.43 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/1.289, allocations: 48.86 kB / 1.43 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/1.291, allocations: 0.7015 MB / 1.431 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/1.294, allocations: 4.497 MB / 1.435 GB, free: 181 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/1.296, allocations: 0.6182 MB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/1.296, allocations: 10.58 kB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/1.296, allocations: 45.72 kB / 1.436 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=38): time 2.004e-06/1.296, allocations: 0 / 1.436 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39): time 0.002101/1.298, allocations: 0.9869 MB / 1.437 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.298, allocations: 86.58 kB / 1.437 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/1.298, allocations: 308 kB / 1.437 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/1.298, allocations: 29.89 kB / 1.437 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.298, allocations: 289.3 kB / 1.438 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/1.298, allocations: 138.7 kB / 1.438 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/1.299, allocations: 12.88 kB / 1.438 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.299, allocations: 349 kB / 1.438 GB, free: 180 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/1.299, allocations: 280.6 kB / 1.438 GB, free: 180 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/1.3, allocations: 490.6 kB / 1.439 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/1.301, allocations: 344.3 kB / 1.439 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.301, allocations: 1.312 kB / 1.439 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001535/1.302, allocations: 0.822 MB / 1.44 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005844/1.303, allocations: 2.614 MB / 1.442 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.303, allocations: 6.781 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/1.303, allocations: 10.31 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/1.304, allocations: 178.3 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/1.304, allocations: 14.31 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/1.304, allocations: 88.17 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/1.304, allocations: 26.89 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.304, allocations: 6.672 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/1.306, allocations: 0.6456 MB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.306, allocations: 8.188 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.306, allocations: 14 kB / 1.443 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/1.306, allocations: 159.3 kB / 1.444 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.307, allocations: 16.31 kB / 1.444 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/1.307, allocations: 69.67 kB / 1.444 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/1.307, allocations: 25.98 kB / 1.444 GB, free: 176.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0003289/1.307, allocations: 281.8 kB / 1.444 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.307, allocations: 44.58 kB / 1.444 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/1.309, allocations: 0.6842 MB / 1.445 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.309, allocations: 5.219 kB / 1.445 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.309, allocations: 2.625 kB / 1.445 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.309, allocations: 4.469 kB / 1.445 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/1.312, allocations: 1.486 MB / 1.446 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.312, allocations: 1.906 kB / 1.446 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/1.312, allocations: 156.6 kB / 1.446 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.312, allocations: 3.625 kB / 1.446 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/1.312, allocations: 11.97 kB / 1.446 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.312, allocations: 3.547 kB / 1.446 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.312, allocations: 2.672 kB / 1.446 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/1.314, allocations: 0.917 MB / 1.447 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/1.314, allocations: 170.5 kB / 1.447 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/1.314, allocations: 6.984 kB / 1.447 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/1.315, allocations: 59.27 kB / 1.447 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.315, allocations: 38.05 kB / 1.447 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/1.315, allocations: 13.16 kB / 1.448 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003164/1.315, allocations: 251.7 kB / 1.448 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.463e-06/1.315, allocations: 0 / 1.448 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001044/1.316, allocations: 211.9 kB / 1.448 GB, free: 175.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.0002214/1.316, allocations: 127.9 kB / 1.448 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.318, allocations: 0.999 MB / 1.449 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.318, allocations: 2.938 kB / 1.449 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006111/1.319, allocations: 316.2 kB / 1.449 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/1.32, allocations: 105.1 kB / 1.449 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/1.322, allocations: 1.251 MB / 1.451 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/1.323, allocations: 0.8942 MB / 1.452 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007075/1.323, allocations: 208.7 kB / 1.452 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/1.323, allocations: 38.55 kB / 1.452 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of SimCode: time 2.234e-06/1.324, allocations: 0 / 1.452 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.01442/1.338, allocations: 6.013 MB / 1.458 GB, free: 173.6 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)