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.001677/0.001678, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001514/0.001514, allocations: 191 kB / 17.29 MB, free: 5.516 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.97 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3338, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006122/0.3399, allocations: 4.336 MB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004585/0.3445, allocations: 2.672 MB / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.3449, allocations: 11.94 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.3461, allocations: 373.7 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008775/0.347, allocations: 394.2 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3482, allocations: 0.5107 MB / 1.035 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008105/0.3491, allocations: 0.7165 MB / 1.036 GB, free: 9 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/0.3496, allocations: 371.5 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.35, allocations: 279 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.3505, allocations: 346.8 kB / 1.036 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.3506, allocations: 40 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.3511, allocations: 323.3 kB / 1.037 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.3513, allocations: 195.5 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.3516, allocations: 258.7 kB / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007987/0.3524, allocations: 0.7474 MB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3524, allocations: 4 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3524, allocations: 0 / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3524, allocations: 0 / 1.038 GB, free: 6.461 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.001443/0.3538, allocations: 0.8262 MB / 1.039 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3539, allocations: 8.75 kB / 1.039 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/0.3548, allocations: 156 kB / 1.039 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.3553, allocations: 387 kB / 1.039 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.3553, allocations: 29.38 kB / 1.039 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.3554, allocations: 40.36 kB / 1.039 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.3567, allocations: 0.8363 MB / 1.04 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.3567, allocations: 8 kB / 1.04 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.3568, allocations: 19.98 kB / 1.04 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-05/0.3569, allocations: 68.89 kB / 1.04 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.3581, allocations: 0.6633 MB / 1.041 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.3622, allocations: 4.48 MB / 1.045 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.3634, allocations: 0.6067 MB / 1.046 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.3639, allocations: 309.4 kB / 1.046 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.364, allocations: 4 kB / 1.046 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.364, allocations: 42.5 kB / 1.046 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=38): time 1.934e-06/0.364, allocations: 0 / 1.046 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.001854/0.3659, allocations: 0.9538 MB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3659, allocations: 85.11 kB / 1.047 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.3663, allocations: 353.5 kB / 1.048 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.3663, allocations: 29.7 kB / 1.048 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.3665, allocations: 275.9 kB / 1.048 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3666, allocations: 146 kB / 1.048 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.3668, allocations: 110.1 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3669, allocations: 354.7 kB / 1.048 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.3674, allocations: 270.9 kB / 1.049 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.3681, allocations: 488 kB / 1.049 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.3693, allocations: 0.7742 MB / 1.05 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3693, allocations: 0 / 1.05 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001404/0.3707, allocations: 0.7952 MB / 1.051 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3707, allocations: 11.94 kB / 1.051 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3707, allocations: 8 kB / 1.051 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3708, allocations: 8.781 kB / 1.051 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.3715, allocations: 171.7 kB / 1.051 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.3715, allocations: 11.94 kB / 1.051 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.3719, allocations: 67.77 kB / 1.051 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.372, allocations: 35.98 kB / 1.051 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006094/0.3726, allocations: 357.1 kB / 1.051 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000566/0.3732, allocations: 439.7 kB / 1.052 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001049/0.3742, allocations: 0.686 MB / 1.052 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.58e-06/0.3743, allocations: 7.938 kB / 1.052 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001197/0.3755, allocations: 0.678 MB / 1.053 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3755, allocations: 15.94 kB / 1.053 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3755, allocations: 4 kB / 1.053 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3755, allocations: 12 kB / 1.053 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.3761, allocations: 151.7 kB / 1.053 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3761, allocations: 15.98 kB / 1.053 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.3765, allocations: 64.02 kB / 1.053 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.3765, allocations: 24 kB / 1.053 GB, free: 5.637 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.0001716/0.3767, allocations: 227.9 kB / 1.054 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3768, allocations: 43.44 kB / 1.054 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.3781, allocations: 0.6461 MB / 1.054 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3781, allocations: 4 kB / 1.054 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3782, allocations: 4 kB / 1.054 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3782, allocations: 3.984 kB / 1.054 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.3804, allocations: 1.454 MB / 1.056 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3805, allocations: 4 kB / 1.056 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/0.3812, allocations: 151.9 kB / 1.056 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.3812, allocations: 4 kB / 1.056 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.3812, allocations: 11.94 kB / 1.056 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.3812, allocations: 4 kB / 1.056 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3812, allocations: 0 / 1.056 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3824, allocations: 0.8071 MB / 1.057 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.3826, allocations: 164.5 kB / 1.057 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.3827, allocations: 23.77 kB / 1.057 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.3831, allocations: 47.94 kB / 1.057 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.3832, allocations: 31.95 kB / 1.057 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3833, allocations: 12 kB / 1.057 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002575/0.3835, allocations: 251.2 kB / 1.057 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.463e-06/0.3835, allocations: 4 kB / 1.057 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008258/0.3844, allocations: 203.9 kB / 1.057 GB, free: 1.414 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.0001523/0.3845, allocations: 112 kB / 1.057 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.3863, allocations: 0.9671 MB / 1.058 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3863, allocations: 0 / 1.058 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.3869, allocations: 299.6 kB / 1.059 GB, free: 40 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.3877, allocations: 136.7 kB / 1.059 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3894, allocations: 1.031 MB / 1.06 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.3899, allocations: 0.8755 MB / 1.061 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004848/0.3904, allocations: 204 kB / 1.061 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.3906, allocations: 43.44 kB / 1.061 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.3906, allocations: 0 / 1.061 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of Templates: time 0.01141/0.402, allocations: 6.688 MB / 1.067 GB, free: 7.066 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 gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)