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.001433/0.001433, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001718/0.001718, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 287.1 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 0.9491/0.9491, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 94.81 kB / 0.5945 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1462, allocations: 86.98 MB / 0.6795 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005147/0.1514, allocations: 4.304 MB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.1547, allocations: 2.392 MB / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1549, allocations: 19.88 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009072/0.1558, allocations: 341.5 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006712/0.1565, allocations: 346.5 kB / 0.6867 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.1571, allocations: 287.4 kB / 0.6869 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007108/0.1579, allocations: 0.866 MB / 0.6878 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.1583, allocations: 250.2 kB / 0.688 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1585, allocations: 234.9 kB / 0.6883 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.1588, allocations: 270.9 kB / 0.6885 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.1589, allocations: 20 kB / 0.6885 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/0.1596, allocations: 0.534 MB / 0.6891 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1598, allocations: 131.5 kB / 0.6892 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.16, allocations: 234.6 kB / 0.6894 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007416/0.1607, allocations: 0.7398 MB / 0.6901 GB, free: 6.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1607, allocations: 0 / 0.6901 GB, free: 6.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1607, allocations: 0 / 0.6901 GB, free: 6.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1607, allocations: 4 kB / 0.6901 GB, free: 6.211 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.001031/0.1618, allocations: 0.7794 MB / 0.6909 GB, free: 5.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1618, allocations: 15.97 kB / 0.6909 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.1631, allocations: 188 kB / 0.6911 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.1636, allocations: 400.5 kB / 0.6915 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1637, allocations: 33.3 kB / 0.6915 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.1637, allocations: 28.38 kB / 0.6915 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/0.1646, allocations: 0.6549 MB / 0.6922 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1646, allocations: 7.844 kB / 0.6922 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.1646, allocations: 23.92 kB / 0.6922 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.019e-05/0.1647, allocations: 59.89 kB / 0.6922 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.1654, allocations: 500 kB / 0.6927 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.1684, allocations: 3.779 MB / 0.6964 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.1701, allocations: 0.6367 MB / 0.697 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.1704, allocations: 174.5 kB / 0.6972 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.1704, allocations: 4 kB / 0.6972 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.1705, allocations: 46.48 kB / 0.6973 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/0.1705, allocations: 0 / 0.6973 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002544/0.173, allocations: 1.273 MB / 0.6985 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.1731, allocations: 106.8 kB / 0.6986 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.1736, allocations: 405.8 kB / 0.699 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1736, allocations: 30.27 kB / 0.699 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.1738, allocations: 287.3 kB / 0.6993 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.174, allocations: 122.3 kB / 0.6994 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1741, allocations: 98.16 kB / 0.6995 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1743, allocations: 354.8 kB / 0.6998 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.1746, allocations: 173 kB / 0.7 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.175, allocations: 379.2 kB / 0.7004 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.1758, allocations: 0.5912 MB / 0.7009 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1758, allocations: 3.938 kB / 0.7009 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001048/0.1768, allocations: 0.6749 MB / 0.7016 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1769, allocations: 8 kB / 0.7016 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1769, allocations: 8 kB / 0.7016 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.1772, allocations: 94.44 kB / 0.7017 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.1776, allocations: 112.2 kB / 0.7018 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.1808, allocations: 4.036 MB / 0.7058 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.1811, allocations: 31.97 kB / 0.7058 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.1812, allocations: 24 kB / 0.7058 GB, free: 4.926 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.0002476/0.1814, allocations: 199.7 kB / 0.706 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1815, allocations: 47.44 kB / 0.706 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009179/0.1825, allocations: 0.5188 MB / 0.7066 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1825, allocations: 8 kB / 0.7066 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1825, allocations: 4 kB / 0.7066 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1825, allocations: 0 / 0.7066 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.1843, allocations: 1.287 MB / 0.7078 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1843, allocations: 0 / 0.7078 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.1846, allocations: 63.89 kB / 0.7079 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.1848, allocations: 90.73 kB / 0.708 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.1848, allocations: 12 kB / 0.708 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.1879, allocations: 4.028 MB / 0.7119 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1879, allocations: 3.938 kB / 0.7119 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.1888, allocations: 0.7793 MB / 0.7127 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.1889, allocations: 156.4 kB / 0.7128 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.189, allocations: 15.92 kB / 0.7128 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.1893, allocations: 23.97 kB / 0.7129 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.1894, allocations: 27.97 kB / 0.7129 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.1894, allocations: 16 kB / 0.7129 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002581/0.1896, allocations: 279.1 kB / 0.7132 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1896, allocations: 0 / 0.7132 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005919/0.1902, allocations: 120 kB / 0.7133 GB, free: 12.66 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.000127/0.1904, allocations: 127.9 kB / 0.7134 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.1915, allocations: 0.802 MB / 0.7142 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1916, allocations: 0 / 0.7142 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006928/0.1923, allocations: 0.5397 MB / 0.7147 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.1931, allocations: 126.4 kB / 0.7148 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1945, allocations: 1.085 MB / 0.7159 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1949, allocations: 0.8586 MB / 0.7167 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.1951, allocations: 104.8 kB / 0.7168 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.1952, allocations: 47.36 kB / 0.7169 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of SimCode: time 1.783e-06/0.1952, allocations: 0 / 0.7169 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of Templates: time 0.009285/0.2045, allocations: 5.546 MB / 0.7223 GB, free: 3.309 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)