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.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001425/0.001425, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 282.8 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002716/0.002716, allocations: 95.41 kB / 0.6057 GB, free: 25.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1559, allocations: 89.16 MB / 0.6928 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005955/0.1619, allocations: 4.298 MB / 0.697 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003684/0.1656, allocations: 2.398 MB / 0.6993 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.1658, allocations: 15.88 kB / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009904/0.1668, allocations: 346.7 kB / 0.6997 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006994/0.1675, allocations: 346.4 kB / 0.7 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.1681, allocations: 294.4 kB / 0.7003 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008782/0.169, allocations: 0.8582 MB / 0.7011 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.1695, allocations: 262.2 kB / 0.7014 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.1699, allocations: 234.9 kB / 0.7016 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.1702, allocations: 262.9 kB / 0.7019 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.752e-05/0.1703, allocations: 23.94 kB / 0.7019 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.1711, allocations: 0.5301 MB / 0.7024 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1713, allocations: 131.6 kB / 0.7025 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.1715, allocations: 226.6 kB / 0.7027 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.1724, allocations: 0.7475 MB / 0.7035 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1724, allocations: 8 kB / 0.7035 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1724, allocations: 0 / 0.7035 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.1724, allocations: 0 / 0.7035 GB, free: 9.84 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.001191/0.1736, allocations: 0.7832 MB / 0.7043 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1737, allocations: 8.031 kB / 0.7043 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.175, allocations: 188.1 kB / 0.7044 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.1757, allocations: 400.5 kB / 0.7048 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.1757, allocations: 33.36 kB / 0.7049 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.1758, allocations: 28.38 kB / 0.7049 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1769, allocations: 0.6549 MB / 0.7055 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.1769, allocations: 3.984 kB / 0.7055 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.1769, allocations: 23.98 kB / 0.7055 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.373e-05/0.177, allocations: 55.89 kB / 0.7056 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.1779, allocations: 492.1 kB / 0.7061 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.1819, allocations: 3.79 MB / 0.7098 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.1839, allocations: 0.6328 MB / 0.7104 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.1842, allocations: 174.4 kB / 0.7106 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.1842, allocations: 8 kB / 0.7106 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1843, allocations: 42.55 kB / 0.7106 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 2.514e-06/0.1843, allocations: 3.938 kB / 0.7106 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002629/0.1869, allocations: 1.276 MB / 0.7119 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.187, allocations: 106.8 kB / 0.712 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.1875, allocations: 405.7 kB / 0.7123 GB, free: 184 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1876, allocations: 29.7 kB / 0.7124 GB, free: 148 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.1878, allocations: 287.5 kB / 0.7126 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1879, allocations: 124 kB / 0.7128 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1881, allocations: 94.16 kB / 0.7128 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.1883, allocations: 358.8 kB / 0.7132 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.1886, allocations: 173 kB / 0.7134 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.1891, allocations: 375.2 kB / 0.7137 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.1899, allocations: 0.5871 MB / 0.7143 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1899, allocations: 3.938 kB / 0.7143 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001219/0.1912, allocations: 0.6751 MB / 0.715 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.1912, allocations: 8 kB / 0.715 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.1912, allocations: 8 kB / 0.715 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.1917, allocations: 106.4 kB / 0.7151 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.1921, allocations: 111.8 kB / 0.7152 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/0.1962, allocations: 4.036 MB / 0.7191 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.1966, allocations: 31.97 kB / 0.7191 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.1967, allocations: 24 kB / 0.7192 GB, free: 8.547 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.0002687/0.1969, allocations: 198.5 kB / 0.7194 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1971, allocations: 47.44 kB / 0.7194 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009727/0.198, allocations: 0.5147 MB / 0.7199 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1981, allocations: 7.938 kB / 0.7199 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1981, allocations: 4 kB / 0.7199 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1981, allocations: 4 kB / 0.7199 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.2, allocations: 1.295 MB / 0.7212 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.2, allocations: 4 kB / 0.7212 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.2002, allocations: 63.89 kB / 0.7213 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002805/0.2005, allocations: 82.52 kB / 0.7213 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2006, allocations: 8.281 kB / 0.7213 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.2039, allocations: 4.032 MB / 0.7253 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.2039, allocations: 4 kB / 0.7253 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.205, allocations: 0.7777 MB / 0.726 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.2052, allocations: 152.5 kB / 0.7262 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.2052, allocations: 15.84 kB / 0.7262 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.2055, allocations: 23.97 kB / 0.7262 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.2056, allocations: 31.91 kB / 0.7263 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.2056, allocations: 16 kB / 0.7263 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003217/0.206, allocations: 279.1 kB / 0.7265 GB, free: 416 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.206, allocations: 0 / 0.7265 GB, free: 416 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007101/0.2067, allocations: 124.3 kB / 0.7267 GB, free: 292 kB / 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.0001657/0.2069, allocations: 119.1 kB / 0.7268 GB, free: 160 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.2083, allocations: 0.8026 MB / 0.7275 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2083, allocations: 0 / 0.7275 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.2091, allocations: 0.5473 MB / 0.7281 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.21, allocations: 121.9 kB / 0.7282 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2116, allocations: 1.087 MB / 0.7293 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.2121, allocations: 0.8586 MB / 0.7301 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003095/0.2124, allocations: 108.8 kB / 0.7302 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.2125, allocations: 39.42 kB / 0.7302 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.2126, allocations: 0 / 0.7302 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.01116/0.2237, allocations: 5.539 MB / 0.7357 GB, free: 6.949 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)