Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001404/0.001404, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001451/0.001452, allocations: 190.5 kB / 16.25 MB, free: 6.641 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.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002607/0.002607, allocations: 283 kB / 290.4 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5069 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 98.73 kB / 0.6059 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1913, allocations: 89.16 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01488/0.2062, allocations: 11.03 MB / 0.7038 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.2176, allocations: 5.769 MB / 0.7094 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.2197, allocations: 47.69 kB / 0.7094 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.2244, allocations: 1.626 MB / 0.711 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.2281, allocations: 1.054 MB / 0.7121 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.2307, allocations: 0.732 MB / 0.7128 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003596/0.2343, allocations: 2.134 MB / 0.7149 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002631/0.2369, allocations: 1.493 MB / 0.7163 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.2386, allocations: 0.8521 MB / 0.7172 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.2402, allocations: 0.9417 MB / 0.7181 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.2405, allocations: 120 kB / 0.7182 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.2428, allocations: 1.177 MB / 0.7193 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.2434, allocations: 0.5259 MB / 0.7199 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008869/0.2443, allocations: 0.7849 MB / 0.7206 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.2479, allocations: 2.492 MB / 0.7231 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2479, allocations: 4 kB / 0.7231 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2479, allocations: 0 / 0.7231 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.2479, allocations: 0 / 0.7231 GB, free: 5.844 MB / 0.5137 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.003129/0.2511, allocations: 1.868 MB / 0.7249 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.2511, allocations: 8.031 kB / 0.7249 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/0.2556, allocations: 0.666 MB / 0.7255 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.2573, allocations: 0.9145 MB / 0.7264 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.2574, allocations: 98.89 kB / 0.7265 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.2576, allocations: 128.3 kB / 0.7266 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/0.261, allocations: 2.206 MB / 0.7288 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.261, allocations: 11.94 kB / 0.7288 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.2612, allocations: 59.97 kB / 0.7289 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.2614, allocations: 162.3 kB / 0.729 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/0.2645, allocations: 1.867 MB / 0.7308 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.2778, allocations: 12.48 MB / 0.743 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.2824, allocations: 1.967 MB / 0.745 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009192/0.2833, allocations: 0.6127 MB / 0.7456 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.2835, allocations: 102 kB / 0.7457 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.2836, allocations: 43.56 kB / 0.7457 GB, free: 13.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 2.705e-06/0.2836, allocations: 0 / 0.7457 GB, free: 13.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=110): time 0.00653/0.2901, allocations: 3.702 MB / 0.7493 GB, free: 9.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.2902, allocations: 68.34 kB / 0.7494 GB, free: 9.395 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.2914, allocations: 0.9242 MB / 0.7503 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.2915, allocations: 41.7 kB / 0.7503 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.292, allocations: 0.7315 MB / 0.751 GB, free: 7.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.2925, allocations: 386.5 kB / 0.7514 GB, free: 7.281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004329/0.2929, allocations: 287.2 kB / 0.7517 GB, free: 6.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.293, allocations: 301.1 kB / 0.752 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009675/0.294, allocations: 0.6129 MB / 0.7526 GB, free: 6.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.2954, allocations: 1.109 MB / 0.7536 GB, free: 4.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.298, allocations: 1.828 MB / 0.7554 GB, free: 2.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.298, allocations: 4 kB / 0.7554 GB, free: 2.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003681/0.3017, allocations: 2.1 MB / 0.7575 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.3017, allocations: 12 kB / 0.7575 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.3018, allocations: 16 kB / 0.7575 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008485/0.3026, allocations: 263.3 kB / 0.7578 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.3039, allocations: 375.4 kB / 0.7581 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.3141, allocations: 11.6 MB / 0.7694 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.3154, allocations: 119.9 kB / 0.7696 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.3155, allocations: 75.92 kB / 0.7696 GB, free: 2.977 MB / 0.5606 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.0007307/0.3163, allocations: 405.2 kB / 0.77 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.3165, allocations: 130.6 kB / 0.7701 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/0.3196, allocations: 1.681 MB / 0.7718 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3196, allocations: 12 kB / 0.7718 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3196, allocations: 4 kB / 0.7718 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.3196, allocations: 7.969 kB / 0.7718 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2705/0.5901, allocations: 3.281 MB / 0.775 GB, free: 77.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.5901, allocations: 5.094 kB / 0.775 GB, free: 77.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/0.591, allocations: 221.4 kB / 0.7752 GB, free: 77.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/0.5917, allocations: 250.2 kB / 0.7755 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.5918, allocations: 28.92 kB / 0.7755 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006245/0.598, allocations: 11.56 MB / 0.7868 GB, free: 66.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.5981, allocations: 10.59 kB / 0.7868 GB, free: 66.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.6007, allocations: 1.801 MB / 0.7886 GB, free: 65.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/0.6012, allocations: 306.9 kB / 0.7888 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.6014, allocations: 33.69 kB / 0.7889 GB, free: 65.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/0.6021, allocations: 91.16 kB / 0.789 GB, free: 65.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.6023, allocations: 93.19 kB / 0.7891 GB, free: 65.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.6024, allocations: 37.09 kB / 0.7891 GB, free: 65.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007958/0.6032, allocations: 0.6247 MB / 0.7897 GB, free: 65.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6032, allocations: 0 / 0.7897 GB, free: 65.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001398/0.6046, allocations: 393.5 kB / 0.7901 GB, free: 65.17 MB / 0.5606 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.0002179/0.6048, allocations: 141.9 kB / 0.7902 GB, free: 65.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004218/0.609, allocations: 2.878 MB / 0.793 GB, free: 63.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6091, allocations: 0 / 0.793 GB, free: 63.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.6108, allocations: 1.628 MB / 0.7946 GB, free: 62.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.6125, allocations: 361.2 kB / 0.795 GB, free: 62.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.6164, allocations: 3.375 MB / 0.7983 GB, free: 60.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008602/0.6173, allocations: 1.328 MB / 0.7996 GB, free: 59.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001696/0.619, allocations: 359.2 kB / 0.7999 GB, free: 59.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/0.6195, allocations: 101.8 kB / 0.8 GB, free: 59.64 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.6195, allocations: 0 / 0.8 GB, free: 59.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.05059/0.6701, allocations: 17.15 MB / 0.8167 GB, free: 54.34 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)