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.001372/0.001372, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001523/0.001523, allocations: 187.9 kB / 17.35 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 302.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9831/0.9831, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 95.86 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4972, allocations: 86.97 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01396/0.5112, allocations: 11.08 MB / 0.7779 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009913/0.5211, allocations: 5.789 MB / 0.7835 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.5224, allocations: 51.69 kB / 0.7836 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.5266, allocations: 1.729 MB / 0.7853 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.5299, allocations: 1.178 MB / 0.7864 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.5325, allocations: 0.8142 MB / 0.7872 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.5357, allocations: 2.123 MB / 0.7893 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.5377, allocations: 1.322 MB / 0.7906 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.5392, allocations: 0.8523 MB / 0.7914 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.541, allocations: 0.9104 MB / 0.7923 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004091/0.5414, allocations: 116 kB / 0.7924 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.5443, allocations: 1.177 MB / 0.7936 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008331/0.5451, allocations: 0.5259 MB / 0.7941 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001659/0.5468, allocations: 0.7849 MB / 0.7948 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.5519, allocations: 2.428 MB / 0.7972 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5519, allocations: 4 kB / 0.7972 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5519, allocations: 0 / 0.7972 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.204e-05/0.552, allocations: 0 / 0.7972 GB, free: 4.855 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.0046/0.5566, allocations: 1.864 MB / 0.799 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5567, allocations: 8.031 kB / 0.799 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/0.5616, allocations: 0.6698 MB / 0.7997 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.564, allocations: 1.008 MB / 0.8007 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5641, allocations: 94.89 kB / 0.8008 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/0.5645, allocations: 124.3 kB / 0.8009 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.5678, allocations: 2.21 MB / 0.8031 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.5678, allocations: 15.88 kB / 0.8031 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.568, allocations: 63.95 kB / 0.8031 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.5682, allocations: 162.3 kB / 0.8033 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.5709, allocations: 1.867 MB / 0.8051 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.5832, allocations: 12.43 MB / 0.8172 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/0.5874, allocations: 1.98 MB / 0.8192 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.5882, allocations: 0.605 MB / 0.8198 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.5884, allocations: 102.1 kB / 0.8199 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5884, allocations: 43.56 kB / 0.8199 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=103): time 3.516e-06/0.5884, allocations: 0 / 0.8199 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.00578/0.5942, allocations: 3.71 MB / 0.8235 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.5943, allocations: 68.41 kB / 0.8236 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5953, allocations: 0.9242 MB / 0.8245 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.5954, allocations: 41.7 kB / 0.8245 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.5959, allocations: 0.7276 MB / 0.8253 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.5962, allocations: 386.5 kB / 0.8256 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.5965, allocations: 287.2 kB / 0.8259 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.5966, allocations: 301.1 kB / 0.8262 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/0.5975, allocations: 0.6129 MB / 0.8268 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.5986, allocations: 1.113 MB / 0.8279 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.6007, allocations: 1.832 MB / 0.8297 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6007, allocations: 4 kB / 0.8297 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003198/0.6039, allocations: 2.096 MB / 0.8317 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.604, allocations: 12 kB / 0.8317 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.604, allocations: 16 kB / 0.8317 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008004/0.6048, allocations: 263.4 kB / 0.832 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.606, allocations: 371.4 kB / 0.8323 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008972/0.615, allocations: 11.58 MB / 0.8436 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.6165, allocations: 123.8 kB / 0.8438 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.6167, allocations: 71.98 kB / 0.8438 GB, free: 1.961 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.0007391/0.6174, allocations: 411.6 kB / 0.8442 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.6177, allocations: 126.5 kB / 0.8443 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/0.6206, allocations: 1.688 MB / 0.846 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.6206, allocations: 3.984 kB / 0.846 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6206, allocations: 0 / 0.846 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.6212, allocations: 299.4 kB / 0.8463 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.6213, allocations: 23.94 kB / 0.8463 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006329/0.622, allocations: 87.86 kB / 0.8464 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.6221, allocations: 72.89 kB / 0.8465 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003114/0.6253, allocations: 1.648 MB / 0.8481 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002805/0.6281, allocations: 2.087 MB / 0.8501 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009022/0.629, allocations: 0.5776 MB / 0.8507 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007742/0.6298, allocations: 0.6138 MB / 0.8513 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of Backend: time 7.02e-07/0.6298, allocations: 4 kB / 0.8513 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00492/0.6347, allocations: 2.626 MB / 0.8538 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004574/0.6393, allocations: 2.974 MB / 0.8567 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of Templates: time 0.0413/0.6806, allocations: 25.32 MB / 0.8815 GB, free: 11.35 MB / 0.6544 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)