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.00567/0.00567, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001043/0.001043, allocations: 190 kB / 16.67 MB, free: 5.977 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 285.5 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9294/0.9294, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 99.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.96 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.3097/0.459, allocations: 11.08 MB / 0.7772 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007719/0.4668, allocations: 5.79 MB / 0.7829 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.4675, allocations: 49.88 kB / 0.7829 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.471, allocations: 1.724 MB / 0.7846 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.4733, allocations: 1.185 MB / 0.7858 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.4752, allocations: 0.8132 MB / 0.7866 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.4772, allocations: 2.124 MB / 0.7886 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.4785, allocations: 1.327 MB / 0.7899 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009693/0.4795, allocations: 0.8531 MB / 0.7908 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009105/0.4804, allocations: 0.9087 MB / 0.7916 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.4806, allocations: 111.8 kB / 0.7917 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.4825, allocations: 1.178 MB / 0.7929 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.483, allocations: 0.5244 MB / 0.7934 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.4836, allocations: 0.7905 MB / 0.7942 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.4861, allocations: 2.426 MB / 0.7966 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4861, allocations: 0 / 0.7966 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4861, allocations: 0 / 0.7966 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.169e-05/0.4862, allocations: 3.938 kB / 0.7966 GB, free: 1.547 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.002577/0.4888, allocations: 1.867 MB / 0.7984 GB, free: 336 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.4888, allocations: 9.156 kB / 0.7984 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.4934, allocations: 0.675 MB / 0.799 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.495, allocations: 0.9972 MB / 0.8 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.4951, allocations: 98.55 kB / 0.8001 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.4954, allocations: 125.3 kB / 0.8002 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/0.4989, allocations: 2.21 MB / 0.8024 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.499, allocations: 17.02 kB / 0.8024 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.4991, allocations: 58.08 kB / 0.8025 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002127/0.4993, allocations: 161.2 kB / 0.8026 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.5023, allocations: 1.866 MB / 0.8044 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.5133, allocations: 12.45 MB / 0.8166 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.5173, allocations: 1.966 MB / 0.8185 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008072/0.5182, allocations: 0.6101 MB / 0.8191 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.5183, allocations: 97.75 kB / 0.8192 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.5184, allocations: 43.16 kB / 0.8192 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=103): time 2.705e-06/0.5184, allocations: 1.312 kB / 0.8192 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110): time 0.005951/0.5243, allocations: 3.71 MB / 0.8229 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.5244, allocations: 67 kB / 0.8229 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.5258, allocations: 0.9231 MB / 0.8238 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.748e-05/0.5259, allocations: 44.36 kB / 0.8239 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/0.5264, allocations: 0.7222 MB / 0.8246 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.5268, allocations: 392.5 kB / 0.825 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.5272, allocations: 290.5 kB / 0.8252 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5273, allocations: 301.1 kB / 0.8255 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.5283, allocations: 0.6179 MB / 0.8261 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.5297, allocations: 1.105 MB / 0.8272 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.5319, allocations: 1.835 MB / 0.829 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.532, allocations: 4.281 kB / 0.829 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00331/0.5353, allocations: 2.101 MB / 0.8311 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5353, allocations: 11.34 kB / 0.8311 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.5353, allocations: 16.31 kB / 0.8311 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007884/0.5361, allocations: 262.9 kB / 0.8313 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.5374, allocations: 367.7 kB / 0.8317 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/0.5454, allocations: 11.58 MB / 0.843 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.5468, allocations: 128.9 kB / 0.8431 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.547, allocations: 74.42 kB / 0.8432 GB, free: 13.73 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.0007434/0.5478, allocations: 400.5 kB / 0.8436 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.548, allocations: 131.2 kB / 0.8437 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.5509, allocations: 1.679 MB / 0.8453 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.551, allocations: 18.83 kB / 0.8453 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.551, allocations: 6.688 kB / 0.8454 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.551, allocations: 3.984 kB / 0.8454 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005012/0.556, allocations: 3.295 MB / 0.8486 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.556, allocations: 5.438 kB / 0.8486 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008293/0.5569, allocations: 226.2 kB / 0.8488 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006958/0.5576, allocations: 247.2 kB / 0.849 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.556e-05/0.5577, allocations: 31.88 kB / 0.8491 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007747/0.5654, allocations: 11.55 MB / 0.8603 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5654, allocations: 5.406 kB / 0.8603 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.5681, allocations: 1.805 MB / 0.8621 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/0.5687, allocations: 304.5 kB / 0.8624 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.569, allocations: 30.97 kB / 0.8624 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.5699, allocations: 91.88 kB / 0.8625 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.5701, allocations: 96.7 kB / 0.8626 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.5701, allocations: 39.98 kB / 0.8626 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008129/0.5709, allocations: 0.6138 MB / 0.8632 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.571, allocations: 4 kB / 0.8633 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001501/0.5725, allocations: 396 kB / 0.8636 GB, free: 11.63 MB / 0.6231 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.0002124/0.5727, allocations: 142.9 kB / 0.8638 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003406/0.5761, allocations: 2.508 MB / 0.8662 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5761, allocations: 0 / 0.8662 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.5781, allocations: 1.626 MB / 0.8678 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.5798, allocations: 353 kB / 0.8681 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.584, allocations: 2.745 MB / 0.8708 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/0.5849, allocations: 1.327 MB / 0.8721 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009404/0.5858, allocations: 363.3 kB / 0.8725 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.5861, allocations: 95.42 kB / 0.8726 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.5861, allocations: 3.938 kB / 0.8726 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of Templates: time 0.03401/0.6201, allocations: 17.35 MB / 0.8895 GB, free: 0.9727 MB / 0.6387 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)