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.001006/0.001006, 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.001253/0.001253, allocations: 196.9 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 282.9 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9153/0.9153, allocations: 169.2 MB / 0.4977 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 92.83 kB / 0.5946 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.144, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005233/0.1492, allocations: 4.299 MB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1525, allocations: 2.381 MB / 0.6861 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.1527, allocations: 20.53 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008969/0.1536, allocations: 345.2 kB / 0.6864 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.1543, allocations: 354.5 kB / 0.6868 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.1549, allocations: 279.4 kB / 0.687 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000663/0.1556, allocations: 0.8621 MB / 0.6879 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003858/0.156, allocations: 269.9 kB / 0.6881 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.1562, allocations: 226.9 kB / 0.6884 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1565, allocations: 274.8 kB / 0.6886 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.1566, allocations: 20 kB / 0.6886 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007059/0.1573, allocations: 0.534 MB / 0.6892 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1574, allocations: 123.6 kB / 0.6893 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.1576, allocations: 230.7 kB / 0.6895 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000698/0.1583, allocations: 0.7475 MB / 0.6902 GB, free: 6.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1583, allocations: 4 kB / 0.6902 GB, free: 6.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1583, allocations: 0 / 0.6902 GB, free: 6.105 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1583, allocations: 0 / 0.6902 GB, free: 6.105 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.0009915/0.1593, allocations: 0.7871 MB / 0.691 GB, free: 5.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1594, allocations: 8.031 kB / 0.691 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.1595, allocations: 78.7 kB / 0.6911 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.1607, allocations: 192 kB / 0.6913 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.1612, allocations: 396.6 kB / 0.6916 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1612, allocations: 37.23 kB / 0.6917 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.1613, allocations: 36.28 kB / 0.6917 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.162, allocations: 0.6469 MB / 0.6923 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1621, allocations: 7.938 kB / 0.6923 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.1621, allocations: 19.98 kB / 0.6924 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.746e-05/0.1622, allocations: 51.91 kB / 0.6924 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/0.1629, allocations: 0.4922 MB / 0.6929 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.1656, allocations: 3.783 MB / 0.6966 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.1672, allocations: 0.6367 MB / 0.6972 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.1674, allocations: 174.5 kB / 0.6974 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1674, allocations: 8 kB / 0.6974 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1674, allocations: 38.5 kB / 0.6974 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.1675, allocations: 0 / 0.6974 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001971/0.1694, allocations: 1.277 MB / 0.6987 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1695, allocations: 110.8 kB / 0.6988 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.1699, allocations: 398.1 kB / 0.6992 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1699, allocations: 33.7 kB / 0.6992 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1701, allocations: 291.3 kB / 0.6995 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.991e-05/0.1702, allocations: 126.2 kB / 0.6996 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1703, allocations: 98.14 kB / 0.6997 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1704, allocations: 350.8 kB / 0.7 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.1707, allocations: 177 kB / 0.7002 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.171, allocations: 375.3 kB / 0.7005 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.1717, allocations: 0.5832 MB / 0.7011 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1717, allocations: 8 kB / 0.7011 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000974/0.1727, allocations: 0.6827 MB / 0.7018 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1727, allocations: 8 kB / 0.7018 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1727, allocations: 8 kB / 0.7018 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.173, allocations: 94.45 kB / 0.7019 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.1734, allocations: 115.8 kB / 0.702 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.1763, allocations: 4.028 MB / 0.7059 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.1766, allocations: 31.97 kB / 0.706 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1767, allocations: 24 kB / 0.706 GB, free: 4.73 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.0002352/0.1769, allocations: 203.7 kB / 0.7062 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.177, allocations: 43.53 kB / 0.7062 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/0.1779, allocations: 0.5146 MB / 0.7067 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1779, allocations: 4 kB / 0.7067 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.1779, allocations: 15.98 kB / 0.7067 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1779, allocations: 0 / 0.7067 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.1795, allocations: 1.28 MB / 0.708 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1795, allocations: 3.984 kB / 0.708 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.1797, allocations: 63.91 kB / 0.7081 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.18, allocations: 90.72 kB / 0.7081 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.18, allocations: 12.28 kB / 0.7082 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.1828, allocations: 4.024 MB / 0.7121 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1828, allocations: 7.875 kB / 0.7121 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.1836, allocations: 0.783 MB / 0.7129 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1838, allocations: 156.4 kB / 0.713 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.1839, allocations: 11.94 kB / 0.713 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.1842, allocations: 23.97 kB / 0.713 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.1842, allocations: 27.97 kB / 0.7131 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.1843, allocations: 16 kB / 0.7131 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002668/0.1845, allocations: 275.1 kB / 0.7133 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1845, allocations: 0 / 0.7133 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006409/0.1852, allocations: 127.9 kB / 0.7135 GB, free: 12.46 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.001083/0.1863, allocations: 1.339 MB / 0.7148 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.1874, allocations: 0.8065 MB / 0.7156 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1874, allocations: 0 / 0.7156 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.188, allocations: 0.5468 MB / 0.7161 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.1889, allocations: 128.8 kB / 0.7162 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.1941, allocations: 4.751 MB / 0.7209 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1945, allocations: 0.8663 MB / 0.7217 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.1948, allocations: 104.8 kB / 0.7218 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.195, allocations: 155.4 kB / 0.722 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.195, allocations: 4 kB / 0.722 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.2146, allocations: 9.549 MB / 0.7313 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.2148, allocations: 240.8 kB / 0.7315 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.96, allocations: 3.938 kB / 0.7315 GB, free: 9.707 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)