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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001376/0.001376, allocations: 192.7 kB / 16.25 MB, free: 6.629 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.219/1.219, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 278.8 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8908/0.8908, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 100 kB / 0.5948 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1415, allocations: 86.97 MB / 0.6797 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004968/0.1465, allocations: 4.307 MB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.1495, allocations: 2.361 MB / 0.6863 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1497, allocations: 19.88 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.1506, allocations: 338.7 kB / 0.6866 GB, free: 9.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006099/0.1513, allocations: 350.4 kB / 0.6869 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.1518, allocations: 290.1 kB / 0.6872 GB, free: 9.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005912/0.1524, allocations: 0.6866 MB / 0.6879 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.1528, allocations: 278 kB / 0.6881 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.1531, allocations: 262.9 kB / 0.6884 GB, free: 8.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.1534, allocations: 274.9 kB / 0.6887 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.1534, allocations: 31.98 kB / 0.6887 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.1539, allocations: 435 kB / 0.6891 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1541, allocations: 143.5 kB / 0.6892 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.1543, allocations: 238.7 kB / 0.6895 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.1549, allocations: 0.7553 MB / 0.6902 GB, free: 6.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.155, allocations: 4 kB / 0.6902 GB, free: 6.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.155, allocations: 0 / 0.6902 GB, free: 6.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.155, allocations: 0 / 0.6902 GB, free: 6.18 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.0009344/0.1559, allocations: 0.7871 MB / 0.691 GB, free: 5.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1559, allocations: 11.97 kB / 0.691 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/0.156, allocations: 78.72 kB / 0.6911 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.1573, allocations: 188 kB / 0.6912 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.1577, allocations: 400.6 kB / 0.6916 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1577, allocations: 21.38 kB / 0.6916 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1578, allocations: 40.27 kB / 0.6917 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.1586, allocations: 0.6469 MB / 0.6923 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1586, allocations: 15.92 kB / 0.6923 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.1587, allocations: 15.98 kB / 0.6923 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-05/0.1587, allocations: 55.91 kB / 0.6924 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.1594, allocations: 500 kB / 0.6929 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.1621, allocations: 3.783 MB / 0.6966 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.1637, allocations: 0.6321 MB / 0.6972 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1639, allocations: 182.4 kB / 0.6974 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.164, allocations: 7.984 kB / 0.6974 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.164, allocations: 38.56 kB / 0.6974 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.164, allocations: 0 / 0.6974 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00199/0.166, allocations: 1.273 MB / 0.6986 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1661, allocations: 118.8 kB / 0.6988 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.1664, allocations: 393.8 kB / 0.6991 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1664, allocations: 29.7 kB / 0.6992 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.1666, allocations: 287.4 kB / 0.6994 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.1667, allocations: 118.3 kB / 0.6995 GB, free: 12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.1668, allocations: 98.14 kB / 0.6996 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1669, allocations: 350.8 kB / 0.7 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.1672, allocations: 181 kB / 0.7001 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.1675, allocations: 379.1 kB / 0.7005 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.1681, allocations: 0.5873 MB / 0.7011 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1682, allocations: 4 kB / 0.7011 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009684/0.1691, allocations: 0.6823 MB / 0.7018 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1692, allocations: 11.98 kB / 0.7018 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1692, allocations: 8 kB / 0.7018 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.1695, allocations: 95.11 kB / 0.7019 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.1699, allocations: 115.8 kB / 0.702 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.1728, allocations: 4.336 MB / 0.7062 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.1731, allocations: 35.91 kB / 0.7062 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.1731, allocations: 29.09 kB / 0.7063 GB, free: 4.473 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.0001857/0.1733, allocations: 199.5 kB / 0.7065 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.1734, allocations: 47.44 kB / 0.7065 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/0.1742, allocations: 0.5186 MB / 0.707 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1742, allocations: 7.938 kB / 0.707 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1743, allocations: 0 / 0.707 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1743, allocations: 3.984 kB / 0.707 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.1758, allocations: 1.283 MB / 0.7083 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1758, allocations: 4 kB / 0.7083 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.1761, allocations: 63.89 kB / 0.7083 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.1763, allocations: 94.72 kB / 0.7084 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1764, allocations: 12 kB / 0.7084 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.1792, allocations: 4.337 MB / 0.7127 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.1792, allocations: 7.938 kB / 0.7127 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.18, allocations: 0.7699 MB / 0.7134 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1802, allocations: 156.4 kB / 0.7136 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.1802, allocations: 8 kB / 0.7136 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.1805, allocations: 28.25 kB / 0.7136 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.1806, allocations: 35.91 kB / 0.7137 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1806, allocations: 8 kB / 0.7137 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002509/0.1809, allocations: 283.1 kB / 0.7139 GB, free: 12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1809, allocations: 0 / 0.7139 GB, free: 12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000595/0.1815, allocations: 124 kB / 0.7141 GB, free: 11.88 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.001014/0.1825, allocations: 1.33 MB / 0.7154 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.1836, allocations: 0.821 MB / 0.7162 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1836, allocations: 256 / 0.7162 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006302/0.1842, allocations: 0.5467 MB / 0.7167 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.1851, allocations: 139.5 kB / 0.7168 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.1899, allocations: 4.757 MB / 0.7215 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1903, allocations: 0.8625 MB / 0.7223 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002599/0.1906, allocations: 108.5 kB / 0.7224 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.1908, allocations: 151.4 kB / 0.7226 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1908, allocations: 7.938 kB / 0.7226 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.788/3.979, allocations: 9.839 MB / 0.7322 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/3.98, allocations: 248.4 kB / 0.7324 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/6.203, allocations: 0 / 0.7324 GB, free: 8.836 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)