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.00121/0.00121, allocations: 103.3 kB / 16.36 MB, free: 6.301 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.001175/0.001175, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001464/0.001464, allocations: 75.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1998, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.3237/0.5235, allocations: 11.06 MB / 0.7956 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006999/0.5305, allocations: 5.821 MB / 0.8013 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.5313, allocations: 49 kB / 0.8013 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003538/0.5349, allocations: 1.721 MB / 0.803 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.5374, allocations: 1.145 MB / 0.8041 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.5393, allocations: 0.8134 MB / 0.8049 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.5416, allocations: 2.127 MB / 0.807 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.5432, allocations: 1.321 MB / 0.8083 GB, free: 37.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.5447, allocations: 0.8451 MB / 0.8091 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.546, allocations: 0.9159 MB / 0.81 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.5463, allocations: 113.8 kB / 0.8101 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.5485, allocations: 1.174 MB / 0.8113 GB, free: 36.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005432/0.5491, allocations: 0.5303 MB / 0.8118 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008001/0.5499, allocations: 0.7841 MB / 0.8125 GB, free: 35.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003596/0.5535, allocations: 2.423 MB / 0.8149 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5535, allocations: 0 / 0.8149 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5535, allocations: 1.094 kB / 0.8149 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.586e-05/0.5536, allocations: 0 / 0.8149 GB, free: 34.9 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.003085/0.5566, allocations: 1.871 MB / 0.8167 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5567, allocations: 9.781 kB / 0.8167 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.5614, allocations: 0.6684 MB / 0.8174 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.5631, allocations: 1.005 MB / 0.8184 GB, free: 32.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/0.5632, allocations: 92.92 kB / 0.8185 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.5634, allocations: 126.7 kB / 0.8186 GB, free: 32.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.5664, allocations: 2.213 MB / 0.8207 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.5665, allocations: 10.61 kB / 0.8208 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.5666, allocations: 61.03 kB / 0.8208 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.5668, allocations: 161.9 kB / 0.821 GB, free: 31.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.5697, allocations: 1.869 MB / 0.8228 GB, free: 30.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009921/0.5796, allocations: 12.45 MB / 0.8349 GB, free: 20.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/0.5841, allocations: 1.964 MB / 0.8369 GB, free: 19.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008456/0.5849, allocations: 0.6042 MB / 0.8375 GB, free: 19.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.5851, allocations: 106.5 kB / 0.8376 GB, free: 19.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.5851, allocations: 47.73 kB / 0.8376 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.985e-06/0.5851, allocations: 0 / 0.8376 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.006097/0.5912, allocations: 3.718 MB / 0.8412 GB, free: 17.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.5913, allocations: 62.69 kB / 0.8413 GB, free: 17.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.5925, allocations: 0.9205 MB / 0.8422 GB, free: 17.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.5926, allocations: 49.3 kB / 0.8422 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.593, allocations: 0.7303 MB / 0.843 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.5932, allocations: 380.1 kB / 0.8433 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.5936, allocations: 285.5 kB / 0.8436 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.5937, allocations: 308.1 kB / 0.8439 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009511/0.5946, allocations: 0.6113 MB / 0.8445 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.5958, allocations: 1.103 MB / 0.8456 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.598, allocations: 1.833 MB / 0.8473 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.598, allocations: 4.188 kB / 0.8473 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003521/0.6015, allocations: 2.096 MB / 0.8494 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.6016, allocations: 12.84 kB / 0.8494 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.6016, allocations: 20.61 kB / 0.8494 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008262/0.6024, allocations: 258.8 kB / 0.8497 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.6038, allocations: 372.5 kB / 0.85 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.6104, allocations: 11.58 MB / 0.8613 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.6119, allocations: 128 kB / 0.8615 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.6121, allocations: 76.05 kB / 0.8615 GB, free: 1.074 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.000803/0.6129, allocations: 406.9 kB / 0.8619 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.6131, allocations: 136 kB / 0.8621 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.6158, allocations: 1.672 MB / 0.8637 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6159, allocations: 11.91 kB / 0.8637 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6159, allocations: 2.594 kB / 0.8637 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.6159, allocations: 11.97 kB / 0.8637 GB, free: 15.72 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.6214, allocations: 3.291 MB / 0.8669 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.6214, allocations: 5.406 kB / 0.8669 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/0.6223, allocations: 221.6 kB / 0.8671 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.6231, allocations: 243.7 kB / 0.8674 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/0.6232, allocations: 31.72 kB / 0.8674 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009012/0.6322, allocations: 11.57 MB / 0.8787 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6322, allocations: 5.906 kB / 0.8787 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.6357, allocations: 1.795 MB / 0.8805 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000782/0.6365, allocations: 308.3 kB / 0.8808 GB, free: 256 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.6368, allocations: 34.97 kB / 0.8808 GB, free: 232 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/0.6376, allocations: 94.64 kB / 0.8809 GB, free: 180 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.6378, allocations: 96.73 kB / 0.881 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.6379, allocations: 35.16 kB / 0.881 GB, free: 112 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001012/0.6389, allocations: 0.6167 MB / 0.8816 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6389, allocations: 0 / 0.8816 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001759/0.6407, allocations: 393.4 kB / 0.882 GB, free: 15.71 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.0002882/0.641, allocations: 151.2 kB / 0.8821 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00384/0.6449, allocations: 2.49 MB / 0.8846 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.6449, allocations: 5.938 kB / 0.8846 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.647, allocations: 1.636 MB / 0.8862 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.6488, allocations: 350.8 kB / 0.8865 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.6541, allocations: 2.837 MB / 0.8893 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.6552, allocations: 1.333 MB / 0.8906 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/0.6556, allocations: 111.4 kB / 0.8907 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/0.6556, allocations: 0 / 0.8907 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of Templates: time 0.06341/0.719, allocations: 59.17 MB / 0.9485 GB, free: 14.31 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)