Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 113 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 188.2 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.595/2.595, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 60.53 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3459, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006208/0.3522, allocations: 4.355 MB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004297/0.3565, allocations: 2.668 MB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.3568, allocations: 11.94 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.358, allocations: 358.3 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009586/0.359, allocations: 402.1 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3603, allocations: 0.5174 MB / 1.035 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008501/0.3611, allocations: 0.7126 MB / 1.036 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006052/0.3617, allocations: 371.5 kB / 1.036 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.3621, allocations: 279 kB / 1.036 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.3627, allocations: 346.8 kB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.3627, allocations: 43.94 kB / 1.037 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.3634, allocations: 311.3 kB / 1.037 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.3636, allocations: 199.5 kB / 1.037 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.3638, allocations: 266.6 kB / 1.037 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008831/0.3647, allocations: 0.7397 MB / 1.038 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.3647, allocations: 4 kB / 1.038 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3648, allocations: 0 / 1.038 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.3648, allocations: 0 / 1.038 GB, free: 6.508 MB / 0.8106 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.00186/0.3666, allocations: 0.8301 MB / 1.039 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.3667, allocations: 15.97 kB / 1.039 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.3676, allocations: 152 kB / 1.039 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005915/0.3682, allocations: 371.1 kB / 1.039 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.3683, allocations: 37.36 kB / 1.039 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/0.3684, allocations: 44.36 kB / 1.039 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3696, allocations: 0.8363 MB / 1.04 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.3697, allocations: 7.938 kB / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.3697, allocations: 16 kB / 1.04 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.881e-05/0.3698, allocations: 64.95 kB / 1.04 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.371, allocations: 0.675 MB / 1.041 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.375, allocations: 4.477 MB / 1.045 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.3762, allocations: 0.6026 MB / 1.046 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.3767, allocations: 297.5 kB / 1.046 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.3768, allocations: 8 kB / 1.046 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3768, allocations: 34.56 kB / 1.046 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=38): time 2.765e-06/0.3768, allocations: 0 / 1.046 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.001906/0.3787, allocations: 0.9497 MB / 1.047 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.3788, allocations: 89.22 kB / 1.047 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.3792, allocations: 357.5 kB / 1.048 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.3792, allocations: 37.7 kB / 1.048 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.3794, allocations: 279.9 kB / 1.048 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.3795, allocations: 138 kB / 1.048 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.3797, allocations: 114 kB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3798, allocations: 350.7 kB / 1.048 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.3803, allocations: 282.9 kB / 1.049 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006496/0.381, allocations: 476 kB / 1.049 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.3822, allocations: 0.7782 MB / 1.05 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3822, allocations: 0 / 1.05 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001363/0.3836, allocations: 0.7881 MB / 1.051 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3836, allocations: 15.94 kB / 1.051 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3836, allocations: 8 kB / 1.051 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.3837, allocations: 8.047 kB / 1.051 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.3843, allocations: 179.6 kB / 1.051 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.3844, allocations: 8 kB / 1.051 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.3848, allocations: 75.77 kB / 1.051 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.3849, allocations: 24 kB / 1.051 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005818/0.3855, allocations: 369 kB / 1.051 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005588/0.386, allocations: 439.7 kB / 1.052 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001006/0.387, allocations: 0.6743 MB / 1.052 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/0.3871, allocations: 7.938 kB / 1.052 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001187/0.3883, allocations: 0.6814 MB / 1.053 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3883, allocations: 11.94 kB / 1.053 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3883, allocations: 8.844 kB / 1.053 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3883, allocations: 8 kB / 1.053 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.3888, allocations: 163.8 kB / 1.053 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.3889, allocations: 16 kB / 1.053 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.3892, allocations: 59.73 kB / 1.053 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.3893, allocations: 31.98 kB / 1.053 GB, free: 5.672 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.3895, allocations: 220 kB / 1.054 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3896, allocations: 43.44 kB / 1.054 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.3908, allocations: 0.646 MB / 1.054 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3908, allocations: 4 kB / 1.054 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3908, allocations: 3.984 kB / 1.054 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3909, allocations: 0 / 1.054 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.3932, allocations: 1.462 MB / 1.056 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3932, allocations: 0 / 1.056 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.3939, allocations: 143.8 kB / 1.056 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3939, allocations: 4 kB / 1.056 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.3939, allocations: 15.94 kB / 1.056 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3939, allocations: 7.984 kB / 1.056 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.3939, allocations: 7.938 kB / 1.056 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.3951, allocations: 0.7957 MB / 1.057 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.3954, allocations: 164.5 kB / 1.057 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.3954, allocations: 19.78 kB / 1.057 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.3958, allocations: 51.92 kB / 1.057 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.396, allocations: 35.91 kB / 1.057 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.396, allocations: 15.98 kB / 1.057 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002577/0.3963, allocations: 255.2 kB / 1.057 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3963, allocations: 0 / 1.057 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008138/0.3971, allocations: 192 kB / 1.057 GB, free: 1.465 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.3973, allocations: 112 kB / 1.057 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.399, allocations: 0.9787 MB / 1.058 GB, free: 380 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3991, allocations: 0 / 1.058 GB, free: 380 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.3996, allocations: 304.2 kB / 1.059 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.4004, allocations: 124.6 kB / 1.059 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.4022, allocations: 1.023 MB / 1.06 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.4027, allocations: 0.8755 MB / 1.061 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005051/0.4032, allocations: 208 kB / 1.061 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.4034, allocations: 43.42 kB / 1.061 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of SimCode: time 8.91e-07/0.4034, allocations: 0 / 1.061 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.0115/0.4149, allocations: 6.68 MB / 1.067 GB, free: 7.125 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)