Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 104.1 kB / 16.35 MB, free: 5.879 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.00101/0.00101, allocations: 195.1 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 72.41 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.4203/0.665, allocations: 11.05 MB / 0.7956 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008/0.6731, allocations: 5.82 MB / 0.8013 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.6745, allocations: 53.38 kB / 0.8013 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003852/0.6784, allocations: 1.72 MB / 0.803 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.6817, allocations: 1.15 MB / 0.8041 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.6842, allocations: 0.8103 MB / 0.8049 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003166/0.6873, allocations: 2.12 MB / 0.807 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.6892, allocations: 1.323 MB / 0.8083 GB, free: 37.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.6908, allocations: 0.8489 MB / 0.8091 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.6923, allocations: 0.9016 MB / 0.81 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.6925, allocations: 115.8 kB / 0.8101 GB, free: 36.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.6951, allocations: 1.178 MB / 0.8112 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007143/0.6958, allocations: 0.5347 MB / 0.8118 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009704/0.6968, allocations: 0.7818 MB / 0.8125 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005313/0.7021, allocations: 2.425 MB / 0.8149 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7022, allocations: 1.156 kB / 0.8149 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7022, allocations: 4 kB / 0.8149 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.582e-05/0.7023, allocations: 0 / 0.8149 GB, free: 34.91 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004246/0.7065, allocations: 1.864 MB / 0.8167 GB, free: 33.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7066, allocations: 8.688 kB / 0.8167 GB, free: 33.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005019/0.7116, allocations: 0.6678 MB / 0.8174 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.7137, allocations: 0.908 MB / 0.8183 GB, free: 33.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.7138, allocations: 99.41 kB / 0.8184 GB, free: 32.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.714, allocations: 131.2 kB / 0.8185 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.7174, allocations: 2.209 MB / 0.8206 GB, free: 31.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/0.7174, allocations: 11.91 kB / 0.8207 GB, free: 31.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.7176, allocations: 61.61 kB / 0.8207 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/0.7178, allocations: 166.1 kB / 0.8209 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.7209, allocations: 1.866 MB / 0.8227 GB, free: 30.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.733, allocations: 12.44 MB / 0.8348 GB, free: 20.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004618/0.7376, allocations: 1.965 MB / 0.8368 GB, free: 19.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009418/0.7386, allocations: 0.6115 MB / 0.8374 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.7388, allocations: 101.9 kB / 0.8375 GB, free: 19.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.7388, allocations: 43.61 kB / 0.8375 GB, free: 19.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 3.086e-06/0.7388, allocations: 0 / 0.8375 GB, free: 19.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.006396/0.7452, allocations: 3.711 MB / 0.8411 GB, free: 17.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.7453, allocations: 67.19 kB / 0.8412 GB, free: 17.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.7466, allocations: 0.9243 MB / 0.8421 GB, free: 17.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/0.7467, allocations: 40.14 kB / 0.8421 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.7471, allocations: 0.7279 MB / 0.8428 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.7474, allocations: 386.4 kB / 0.8432 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/0.7478, allocations: 290.5 kB / 0.8435 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.7478, allocations: 303.3 kB / 0.8438 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009467/0.7488, allocations: 0.6118 MB / 0.8444 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.75, allocations: 1.108 MB / 0.8455 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.7524, allocations: 1.829 MB / 0.8472 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.7524, allocations: 5.531 kB / 0.8472 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003565/0.756, allocations: 2.101 MB / 0.8493 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.756, allocations: 11.28 kB / 0.8493 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.7561, allocations: 15.91 kB / 0.8493 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008335/0.7569, allocations: 260.2 kB / 0.8496 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7583, allocations: 372.7 kB / 0.8499 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006657/0.7649, allocations: 11.59 MB / 0.8612 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.7665, allocations: 123 kB / 0.8614 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.7667, allocations: 74.5 kB / 0.8614 GB, free: 1.129 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008337/0.7675, allocations: 406.9 kB / 0.8618 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.7678, allocations: 131.2 kB / 0.8619 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.7705, allocations: 1.689 MB / 0.8636 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.7706, allocations: 15.58 kB / 0.8636 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7706, allocations: 2.219 kB / 0.8636 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.7706, allocations: 3.984 kB / 0.8636 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005816/0.7764, allocations: 3.29 MB / 0.8668 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.7764, allocations: 5.281 kB / 0.8668 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009312/0.7774, allocations: 217.9 kB / 0.867 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007391/0.7781, allocations: 243.3 kB / 0.8673 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.7782, allocations: 36.02 kB / 0.8673 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009101/0.7874, allocations: 11.56 MB / 0.8786 GB, free: 1.715 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/0.7874, allocations: 6.844 kB / 0.8786 GB, free: 1.715 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.7906, allocations: 1.799 MB / 0.8804 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007981/0.7914, allocations: 303.5 kB / 0.8807 GB, free: 352 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.7916, allocations: 31.95 kB / 0.8807 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.7923, allocations: 90.31 kB / 0.8808 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.7926, allocations: 101.8 kB / 0.8809 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.7926, allocations: 29.62 kB / 0.8809 GB, free: 216 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009247/0.7936, allocations: 0.6163 MB / 0.8815 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7936, allocations: 3.938 kB / 0.8815 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001835/0.7954, allocations: 401.7 kB / 0.8819 GB, free: 15.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002741/0.7957, allocations: 141.5 kB / 0.882 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004089/0.7998, allocations: 2.503 MB / 0.8845 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7998, allocations: 1 kB / 0.8845 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.8021, allocations: 1.631 MB / 0.8861 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.8042, allocations: 349.8 kB / 0.8864 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/0.8094, allocations: 2.741 MB / 0.8891 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.8106, allocations: 1.328 MB / 0.8904 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0013/0.8119, allocations: 357.1 kB / 0.8907 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.8122, allocations: 95.42 kB / 0.8908 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of SimCode: time 1.973e-06/0.8122, allocations: 0 / 0.8908 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of Templates: time 0.03086/0.8431, allocations: 17.09 MB / 0.9075 GB, free: 8.5 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)