Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 194 kB / 16.53 MB, free: 6.391 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 279.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9184/0.9184, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 97.88 kB / 0.5952 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1393, allocations: 86.98 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005344/0.1446, allocations: 4.269 MB / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.148, allocations: 2.373 MB / 0.6867 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.1482, allocations: 19.81 kB / 0.6867 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009956/0.1492, allocations: 380.5 kB / 0.6871 GB, free: 9.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007663/0.15, allocations: 370.2 kB / 0.6874 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.1507, allocations: 315.2 kB / 0.6877 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006485/0.1514, allocations: 0.6828 MB / 0.6884 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.1518, allocations: 262.2 kB / 0.6886 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.1521, allocations: 255 kB / 0.6889 GB, free: 7.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.1524, allocations: 270.9 kB / 0.6891 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.1525, allocations: 28 kB / 0.6892 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006316/0.1531, allocations: 435 kB / 0.6896 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1533, allocations: 147.5 kB / 0.6897 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.1535, allocations: 230.8 kB / 0.6899 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.1542, allocations: 0.7242 MB / 0.6906 GB, free: 5.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1542, allocations: 0 / 0.6906 GB, free: 5.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1542, allocations: 0 / 0.6906 GB, free: 5.953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1542, allocations: 0 / 0.6906 GB, free: 5.953 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001024/0.1552, allocations: 0.791 MB / 0.6914 GB, free: 5.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1553, allocations: 12.03 kB / 0.6914 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.1566, allocations: 187.9 kB / 0.6916 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.1571, allocations: 404.5 kB / 0.692 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1571, allocations: 21.38 kB / 0.692 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.1572, allocations: 40.3 kB / 0.692 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.158, allocations: 0.6471 MB / 0.6927 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.158, allocations: 15.84 kB / 0.6927 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.1581, allocations: 15.98 kB / 0.6927 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-05/0.1581, allocations: 55.89 kB / 0.6928 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.1588, allocations: 500 kB / 0.6932 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.1618, allocations: 3.775 MB / 0.6969 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.1634, allocations: 0.636 MB / 0.6975 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.1636, allocations: 174.5 kB / 0.6977 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1637, allocations: 11.97 kB / 0.6977 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1637, allocations: 42.5 kB / 0.6978 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.1637, allocations: 0 / 0.6978 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00206/0.1658, allocations: 1.277 MB / 0.699 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1658, allocations: 110.8 kB / 0.6991 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.1662, allocations: 397.8 kB / 0.6995 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1662, allocations: 29.7 kB / 0.6995 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1664, allocations: 283.4 kB / 0.6998 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.1665, allocations: 122.3 kB / 0.6999 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1666, allocations: 94.16 kB / 0.7 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1668, allocations: 362.7 kB / 0.7003 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.167, allocations: 177 kB / 0.7005 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1674, allocations: 367.3 kB / 0.7009 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.168, allocations: 0.5912 MB / 0.7014 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.168, allocations: 7.938 kB / 0.7014 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009868/0.169, allocations: 0.6783 MB / 0.7021 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1691, allocations: 8.781 kB / 0.7021 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1691, allocations: 8 kB / 0.7021 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/0.1694, allocations: 102.4 kB / 0.7022 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.1698, allocations: 111.8 kB / 0.7023 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.1728, allocations: 4.344 MB / 0.7066 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.1731, allocations: 27.98 kB / 0.7066 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.1731, allocations: 27.98 kB / 0.7066 GB, free: 4.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002033/0.1734, allocations: 204.2 kB / 0.7068 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1735, allocations: 47.44 kB / 0.7069 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008136/0.1743, allocations: 0.5148 MB / 0.7074 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1743, allocations: 4 kB / 0.7074 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1743, allocations: 0 / 0.7074 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1743, allocations: 0 / 0.7074 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.1759, allocations: 1.28 MB / 0.7086 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1759, allocations: 8.031 kB / 0.7086 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.1762, allocations: 67.83 kB / 0.7087 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.1764, allocations: 86.8 kB / 0.7088 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.1764, allocations: 12 kB / 0.7088 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.1794, allocations: 4.345 MB / 0.713 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1794, allocations: 12.14 kB / 0.713 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.1802, allocations: 0.7697 MB / 0.7138 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1804, allocations: 152.5 kB / 0.7139 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.1804, allocations: 8 kB / 0.7139 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.1807, allocations: 27.97 kB / 0.714 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.1808, allocations: 39.84 kB / 0.714 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1808, allocations: 8 kB / 0.714 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002597/0.1811, allocations: 279.1 kB / 0.7143 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1811, allocations: 0 / 0.7143 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006031/0.1817, allocations: 124 kB / 0.7144 GB, free: 11.74 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001153/0.1818, allocations: 115.1 kB / 0.7145 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.183, allocations: 0.8219 MB / 0.7153 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.183, allocations: 0 / 0.7153 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.1837, allocations: 0.5514 MB / 0.7159 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/0.1845, allocations: 151.4 kB / 0.716 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1858, allocations: 0.9015 MB / 0.7169 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1862, allocations: 0.8625 MB / 0.7177 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.1864, allocations: 104.5 kB / 0.7178 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.1865, allocations: 39.42 kB / 0.7179 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/0.1866, allocations: 4 kB / 0.7179 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of Templates: time 0.009633/0.1962, allocations: 5.753 MB / 0.7235 GB, free: 2.324 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)