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.001314/0.001314, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001336/0.001336, allocations: 189.3 kB / 16.25 MB, free: 6.625 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002569/0.002569, allocations: 302.7 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.5069 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 100.8 kB / 0.6059 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1535, allocations: 89.15 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005972/0.1595, allocations: 4.309 MB / 0.6972 GB, free: 404 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.1632, allocations: 2.359 MB / 0.6995 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1634, allocations: 15.88 kB / 0.6995 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1644, allocations: 347.3 kB / 0.6998 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006948/0.1651, allocations: 342.5 kB / 0.7002 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.1658, allocations: 294.6 kB / 0.7005 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.1665, allocations: 0.6788 MB / 0.7011 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.167, allocations: 294.2 kB / 0.7014 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.1674, allocations: 258.9 kB / 0.7016 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.1677, allocations: 270.9 kB / 0.7019 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.1678, allocations: 32 kB / 0.7019 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006331/0.1684, allocations: 431 kB / 0.7023 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.1686, allocations: 143.5 kB / 0.7025 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1688, allocations: 238.7 kB / 0.7027 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.1697, allocations: 0.7631 MB / 0.7035 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1697, allocations: 0 / 0.7035 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1697, allocations: 0 / 0.7035 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1697, allocations: 0 / 0.7035 GB, free: 9.973 MB / 0.4981 GB 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.001162/0.1709, allocations: 0.7831 MB / 0.7042 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1709, allocations: 8.031 kB / 0.7042 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.1723, allocations: 192.1 kB / 0.7044 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.1728, allocations: 404.5 kB / 0.7048 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.1729, allocations: 29.34 kB / 0.7048 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.1729, allocations: 32.36 kB / 0.7049 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/0.1739, allocations: 0.651 MB / 0.7055 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1739, allocations: 11.92 kB / 0.7055 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.174, allocations: 19.98 kB / 0.7055 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.693e-05/0.1741, allocations: 47.97 kB / 0.7056 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/0.1749, allocations: 500 kB / 0.706 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.1784, allocations: 3.79 MB / 0.7097 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.1801, allocations: 0.6328 MB / 0.7104 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.1804, allocations: 182.4 kB / 0.7105 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1804, allocations: 3.984 kB / 0.7105 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1805, allocations: 34.56 kB / 0.7106 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.1805, allocations: 0 / 0.7106 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002337/0.1828, allocations: 1.285 MB / 0.7118 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.1829, allocations: 110.8 kB / 0.7119 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.1834, allocations: 397.7 kB / 0.7123 GB, free: 316 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1834, allocations: 37.7 kB / 0.7124 GB, free: 272 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1836, allocations: 279.7 kB / 0.7126 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1837, allocations: 114.4 kB / 0.7127 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1839, allocations: 98.14 kB / 0.7128 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1841, allocations: 354.8 kB / 0.7132 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.1843, allocations: 177 kB / 0.7133 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.1848, allocations: 375.2 kB / 0.7137 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/0.1856, allocations: 0.5873 MB / 0.7143 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1856, allocations: 7.938 kB / 0.7143 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001156/0.1867, allocations: 0.6791 MB / 0.7149 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1868, allocations: 8 kB / 0.7149 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1868, allocations: 7.984 kB / 0.7149 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.1871, allocations: 98.39 kB / 0.715 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.1875, allocations: 116.1 kB / 0.7151 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/0.1913, allocations: 4.34 MB / 0.7194 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.1917, allocations: 27.97 kB / 0.7194 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.1918, allocations: 24 kB / 0.7194 GB, free: 8.352 MB / 0.5137 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.000278/0.1921, allocations: 205.6 kB / 0.7196 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1922, allocations: 43.44 kB / 0.7197 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009202/0.1931, allocations: 0.5147 MB / 0.7202 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1931, allocations: 4 kB / 0.7202 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1931, allocations: 4 kB / 0.7202 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1931, allocations: 3.984 kB / 0.7202 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.195, allocations: 1.295 MB / 0.7215 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.195, allocations: 4.094 kB / 0.7215 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.1952, allocations: 67.83 kB / 0.7215 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.1955, allocations: 90.44 kB / 0.7216 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.1956, allocations: 8 kB / 0.7216 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.1992, allocations: 4.344 MB / 0.7259 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.1992, allocations: 3.938 kB / 0.7259 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/0.2001, allocations: 0.7755 MB / 0.7266 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.2003, allocations: 152.5 kB / 0.7268 GB, free: 232 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.2004, allocations: 8 kB / 0.7268 GB, free: 224 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.2007, allocations: 23.97 kB / 0.7268 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.2008, allocations: 35.84 kB / 0.7268 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2008, allocations: 16 kB / 0.7268 GB, free: 148 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003311/0.2012, allocations: 279.1 kB / 0.7271 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2012, allocations: 0 / 0.7271 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006753/0.2018, allocations: 120 kB / 0.7272 GB, free: 15.76 MB / 0.5294 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.0001446/0.202, allocations: 115.1 kB / 0.7273 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.2033, allocations: 0.8251 MB / 0.7281 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2033, allocations: 320 / 0.7281 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007616/0.2041, allocations: 0.5506 MB / 0.7287 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009144/0.205, allocations: 134.4 kB / 0.7288 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2065, allocations: 1.077 MB / 0.7299 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.2071, allocations: 0.8624 MB / 0.7307 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000291/0.2074, allocations: 108.5 kB / 0.7308 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.2075, allocations: 31.44 kB / 0.7308 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of SimCode: time 2.325e-06/0.2075, allocations: 0 / 0.7308 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.01155/0.219, allocations: 5.806 MB / 0.7365 GB, free: 6.141 MB / 0.5294 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)