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.007183/0.007183, allocations: 103.8 kB / 15.73 MB, free: 6.035 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.001608/0.001608, allocations: 190.5 kB / 16.67 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 286.8 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9539/0.9539, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 91.86 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.3095/0.4551, allocations: 11.08 MB / 0.7772 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007093/0.4623, allocations: 5.798 MB / 0.7829 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005964/0.4629, allocations: 49.88 kB / 0.7829 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.4663, allocations: 1.715 MB / 0.7846 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.4685, allocations: 1.181 MB / 0.7858 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.4703, allocations: 0.8146 MB / 0.7865 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.4725, allocations: 2.125 MB / 0.7886 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.4739, allocations: 1.322 MB / 0.7899 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009011/0.4748, allocations: 0.8525 MB / 0.7907 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008314/0.4757, allocations: 0.9072 MB / 0.7916 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.4758, allocations: 113.7 kB / 0.7917 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.4777, allocations: 1.18 MB / 0.7929 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.4782, allocations: 0.5292 MB / 0.7934 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.4787, allocations: 0.7879 MB / 0.7942 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.481, allocations: 2.424 MB / 0.7965 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.481, allocations: 0 / 0.7965 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.481, allocations: 2 kB / 0.7965 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.4811, allocations: 0 / 0.7965 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.002392/0.4835, allocations: 1.869 MB / 0.7984 GB, free: 332 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4835, allocations: 11.09 kB / 0.7984 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004195/0.4877, allocations: 0.6753 MB / 0.799 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.4895, allocations: 0.9995 MB / 0.8 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.4896, allocations: 98.8 kB / 0.8001 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.4898, allocations: 122.3 kB / 0.8002 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.4937, allocations: 2.209 MB / 0.8024 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/0.4938, allocations: 18.12 kB / 0.8024 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.4939, allocations: 61.5 kB / 0.8025 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.4941, allocations: 162.5 kB / 0.8026 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.4971, allocations: 1.865 MB / 0.8044 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.5087, allocations: 12.44 MB / 0.8166 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/0.5127, allocations: 1.973 MB / 0.8185 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008025/0.5136, allocations: 0.6032 MB / 0.8191 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.5137, allocations: 105.3 kB / 0.8192 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5138, allocations: 43.58 kB / 0.8192 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=103): time 3.096e-06/0.5138, allocations: 5.219 kB / 0.8192 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110): time 0.005731/0.5195, allocations: 3.708 MB / 0.8229 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.5196, allocations: 66.28 kB / 0.8229 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5206, allocations: 0.9185 MB / 0.8238 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.5207, allocations: 41.02 kB / 0.8239 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/0.5212, allocations: 0.7297 MB / 0.8246 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.5215, allocations: 388.9 kB / 0.825 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.5219, allocations: 286.1 kB / 0.8252 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.522, allocations: 301.1 kB / 0.8255 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008862/0.5229, allocations: 0.6204 MB / 0.8261 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5241, allocations: 1.108 MB / 0.8272 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.5263, allocations: 1.838 MB / 0.829 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.5263, allocations: 5.375 kB / 0.829 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003252/0.5295, allocations: 2.096 MB / 0.831 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.5296, allocations: 11.31 kB / 0.8311 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5296, allocations: 15.78 kB / 0.8311 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008048/0.5304, allocations: 260.2 kB / 0.8313 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5316, allocations: 374.3 kB / 0.8317 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008359/0.54, allocations: 11.58 MB / 0.843 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.5411, allocations: 120.7 kB / 0.8431 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5412, allocations: 74.95 kB / 0.8432 GB, free: 13.71 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.0006922/0.5419, allocations: 408.8 kB / 0.8436 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.5421, allocations: 132 kB / 0.8437 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.5448, allocations: 1.67 MB / 0.8453 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.5448, allocations: 11.69 kB / 0.8453 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5448, allocations: 2.594 kB / 0.8453 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5448, allocations: 11.91 kB / 0.8453 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.5496, allocations: 3.306 MB / 0.8486 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.5496, allocations: 5.031 kB / 0.8486 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/0.5504, allocations: 222.9 kB / 0.8488 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/0.5511, allocations: 248.6 kB / 0.849 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/0.5512, allocations: 27.22 kB / 0.8491 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007737/0.5589, allocations: 11.56 MB / 0.8603 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5589, allocations: 6 kB / 0.8603 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.5615, allocations: 1.795 MB / 0.8621 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.562, allocations: 307.4 kB / 0.8624 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.5621, allocations: 28.38 kB / 0.8624 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.5628, allocations: 92.61 kB / 0.8625 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.563, allocations: 104.6 kB / 0.8626 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.563, allocations: 32 kB / 0.8626 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007222/0.5638, allocations: 0.6216 MB / 0.8632 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5638, allocations: 0 / 0.8632 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001452/0.5652, allocations: 392 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.0002267/0.5655, allocations: 157.7 kB / 0.8638 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00344/0.5689, allocations: 2.5 MB / 0.8662 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5689, allocations: 0 / 0.8662 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.5709, allocations: 1.634 MB / 0.8678 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.5724, allocations: 356.6 kB / 0.8681 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.5764, allocations: 2.733 MB / 0.8708 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.5772, allocations: 1.327 MB / 0.8721 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008417/0.5781, allocations: 363.3 kB / 0.8725 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.5784, allocations: 95.42 kB / 0.8725 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.5784, allocations: 0 / 0.8725 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of Templates: time 0.02838/0.6067, allocations: 17.36 MB / 0.8895 GB, free: 0.9648 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)