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.001216/0.001216, allocations: 112.6 kB / 16.41 MB, free: 6.492 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.001246/0.001246, allocations: 183 kB / 17.34 MB, free: 5.762 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002318/0.002318, allocations: 291.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.958/0.958, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 91.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4028, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01322/0.416, allocations: 11.08 MB / 0.7779 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009097/0.4252, allocations: 5.789 MB / 0.7835 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.4263, allocations: 51.62 kB / 0.7836 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00436/0.4307, allocations: 1.73 MB / 0.7853 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003548/0.4342, allocations: 1.147 MB / 0.7864 GB, free: 88 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.4366, allocations: 0.8109 MB / 0.7872 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002657/0.4393, allocations: 2.131 MB / 0.7893 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.4409, allocations: 1.314 MB / 0.7905 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.442, allocations: 0.8445 MB / 0.7914 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.4432, allocations: 0.9143 MB / 0.7923 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.4434, allocations: 116 kB / 0.7924 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.4455, allocations: 1.177 MB / 0.7935 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004695/0.446, allocations: 0.5258 MB / 0.794 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007202/0.4467, allocations: 0.7849 MB / 0.7948 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.4493, allocations: 2.42 MB / 0.7972 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4493, allocations: 0 / 0.7972 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4493, allocations: 0 / 0.7972 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.4493, allocations: 0 / 0.7972 GB, free: 4.996 MB / 0.5606 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.00266/0.452, allocations: 1.867 MB / 0.799 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4521, allocations: 12.03 kB / 0.799 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/0.4565, allocations: 0.6698 MB / 0.7997 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.458, allocations: 1.008 MB / 0.8006 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.458, allocations: 94.89 kB / 0.8007 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.4582, allocations: 120.4 kB / 0.8009 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.4612, allocations: 2.218 MB / 0.803 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.4613, allocations: 11.94 kB / 0.803 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.4614, allocations: 59.97 kB / 0.8031 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/0.4617, allocations: 162.3 kB / 0.8032 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.4645, allocations: 1.867 MB / 0.8051 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.4761, allocations: 12.44 MB / 0.8172 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.4803, allocations: 1.973 MB / 0.8191 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008416/0.4812, allocations: 0.6089 MB / 0.8197 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.4813, allocations: 102.1 kB / 0.8198 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4814, allocations: 43.56 kB / 0.8199 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=103): time 2.856e-06/0.4814, allocations: 4 kB / 0.8199 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.005883/0.4873, allocations: 3.71 MB / 0.8235 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4873, allocations: 60.41 kB / 0.8236 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.4884, allocations: 0.9242 MB / 0.8245 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.4884, allocations: 45.7 kB / 0.8245 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/0.4889, allocations: 0.7236 MB / 0.8252 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.4892, allocations: 386.5 kB / 0.8256 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.4896, allocations: 283.2 kB / 0.8258 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.4897, allocations: 309.1 kB / 0.8261 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008722/0.4906, allocations: 0.6168 MB / 0.8267 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.4918, allocations: 1.106 MB / 0.8278 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.494, allocations: 1.835 MB / 0.8296 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.494, allocations: 4 kB / 0.8296 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003172/0.4972, allocations: 2.096 MB / 0.8317 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.4972, allocations: 12 kB / 0.8317 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.4972, allocations: 16 kB / 0.8317 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/0.498, allocations: 266.6 kB / 0.8319 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4993, allocations: 371.4 kB / 0.8323 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008412/0.5077, allocations: 11.57 MB / 0.8436 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.5089, allocations: 123.8 kB / 0.8437 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/0.509, allocations: 80.08 kB / 0.8438 GB, free: 2.086 MB / 0.6075 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.0006549/0.5097, allocations: 399.1 kB / 0.8442 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.5099, allocations: 134.5 kB / 0.8443 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.5127, allocations: 1.684 MB / 0.846 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.5127, allocations: 12 kB / 0.846 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5127, allocations: 0 / 0.846 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.5127, allocations: 11.98 kB / 0.846 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.5173, allocations: 3.291 MB / 0.8492 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.5174, allocations: 8 kB / 0.8492 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008273/0.5182, allocations: 219.6 kB / 0.8494 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006592/0.5189, allocations: 243.2 kB / 0.8496 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.5189, allocations: 31.94 kB / 0.8497 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008448/0.5274, allocations: 11.57 MB / 0.861 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5274, allocations: 4 kB / 0.861 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.5302, allocations: 1.799 MB / 0.8627 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00061/0.5308, allocations: 303.4 kB / 0.863 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.531, allocations: 28 kB / 0.863 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/0.5317, allocations: 95.86 kB / 0.8631 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.532, allocations: 96.7 kB / 0.8632 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.532, allocations: 36 kB / 0.8633 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007567/0.5328, allocations: 0.6177 MB / 0.8639 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5328, allocations: 0 / 0.8639 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001265/0.5341, allocations: 392 kB / 0.8642 GB, free: 11.68 MB / 0.6387 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.0002153/0.5343, allocations: 146.9 kB / 0.8644 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003502/0.5378, allocations: 2.5 MB / 0.8668 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.5378, allocations: 0 / 0.8668 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/0.5399, allocations: 1.63 MB / 0.8684 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.5416, allocations: 356 kB / 0.8688 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.5462, allocations: 2.844 MB / 0.8715 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/0.5472, allocations: 1.323 MB / 0.8728 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.5476, allocations: 115.4 kB / 0.8729 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.5476, allocations: 4 kB / 0.8729 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.05626/0.6039, allocations: 59.31 MB / 0.9309 GB, free: 7.109 MB / 0.7012 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)