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.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 198 kB / 16.53 MB, free: 6.668 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 286.5 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9553/0.9553, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001898, allocations: 98.44 kB / 0.5954 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1504, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00553/0.1559, allocations: 4.272 MB / 0.6845 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.1593, allocations: 2.379 MB / 0.6868 GB, free: 9.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.1595, allocations: 19.88 kB / 0.6868 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009551/0.1605, allocations: 373 kB / 0.6872 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006296/0.1611, allocations: 370.2 kB / 0.6875 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.1617, allocations: 315.2 kB / 0.6878 GB, free: 8.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.1623, allocations: 0.6789 MB / 0.6885 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.1626, allocations: 273.9 kB / 0.6887 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1629, allocations: 251 kB / 0.689 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.1632, allocations: 262.9 kB / 0.6892 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.1633, allocations: 32 kB / 0.6893 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.1638, allocations: 431 kB / 0.6897 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.1639, allocations: 147.5 kB / 0.6898 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1641, allocations: 238.6 kB / 0.69 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.1648, allocations: 0.7243 MB / 0.6907 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1648, allocations: 0 / 0.6907 GB, free: 5.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1648, allocations: 4 kB / 0.6908 GB, free: 5.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1648, allocations: 0 / 0.6908 GB, free: 5.82 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.0009335/0.1658, allocations: 0.7832 MB / 0.6915 GB, free: 4.988 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.1658, allocations: 11.97 kB / 0.6915 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.734e-05/0.1659, allocations: 70.72 kB / 0.6916 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.1671, allocations: 192 kB / 0.6918 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.1676, allocations: 408.5 kB / 0.6922 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1676, allocations: 25.36 kB / 0.6922 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.1676, allocations: 36.28 kB / 0.6922 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.1684, allocations: 0.6581 MB / 0.6929 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1684, allocations: 7.938 kB / 0.6929 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.1685, allocations: 15.98 kB / 0.6929 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.277e-05/0.1685, allocations: 55.91 kB / 0.6929 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.1692, allocations: 0.4922 MB / 0.6934 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.1719, allocations: 3.775 MB / 0.6971 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.1735, allocations: 0.6361 MB / 0.6977 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.1737, allocations: 178.4 kB / 0.6979 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1737, allocations: 4 kB / 0.6979 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1737, allocations: 34.56 kB / 0.6979 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.1737, allocations: 0 / 0.6979 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001952/0.1757, allocations: 1.281 MB / 0.6992 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1757, allocations: 106.8 kB / 0.6993 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.1761, allocations: 405.9 kB / 0.6997 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1761, allocations: 33.64 kB / 0.6997 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1763, allocations: 283.4 kB / 0.7 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.1764, allocations: 122.3 kB / 0.7001 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1765, allocations: 98.16 kB / 0.7002 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1766, allocations: 346.8 kB / 0.7005 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.1769, allocations: 177 kB / 0.7007 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.1772, allocations: 383.2 kB / 0.7011 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006168/0.1778, allocations: 0.595 MB / 0.7016 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.1778, allocations: 4 kB / 0.7016 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009344/0.1788, allocations: 0.6752 MB / 0.7023 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1788, allocations: 8 kB / 0.7023 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1788, allocations: 8 kB / 0.7023 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.1791, allocations: 102.4 kB / 0.7024 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.1795, allocations: 108.2 kB / 0.7025 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.1824, allocations: 4.344 MB / 0.7068 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.1827, allocations: 27.97 kB / 0.7068 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.1827, allocations: 24 kB / 0.7068 GB, free: 4.121 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.0001871/0.1829, allocations: 208.4 kB / 0.707 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.183, allocations: 47.44 kB / 0.7071 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.1838, allocations: 0.5109 MB / 0.7076 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1838, allocations: 4 kB / 0.7076 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1838, allocations: 3.984 kB / 0.7076 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1838, allocations: 4 kB / 0.7076 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1854, allocations: 1.287 MB / 0.7088 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.1854, allocations: 8.266 kB / 0.7088 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.1856, allocations: 59.91 kB / 0.7089 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/0.1859, allocations: 94.44 kB / 0.709 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.1859, allocations: 12.22 kB / 0.709 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002886/0.1888, allocations: 4.338 MB / 0.7132 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1888, allocations: 7.938 kB / 0.7132 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008486/0.1897, allocations: 0.7738 MB / 0.714 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1898, allocations: 152.5 kB / 0.7141 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.1899, allocations: 11.98 kB / 0.7141 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.1902, allocations: 23.98 kB / 0.7142 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.1903, allocations: 35.83 kB / 0.7142 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.1903, allocations: 20 kB / 0.7142 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002727/0.1906, allocations: 275.1 kB / 0.7145 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1906, allocations: 0 / 0.7145 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005996/0.1912, allocations: 124 kB / 0.7146 GB, free: 11.52 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.001202/0.1924, allocations: 1.326 MB / 0.7159 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.1937, allocations: 0.8245 MB / 0.7167 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1937, allocations: 0 / 0.7167 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.1944, allocations: 0.5478 MB / 0.7172 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008892/0.1953, allocations: 136.8 kB / 0.7174 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.2008, allocations: 4.592 MB / 0.7219 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.2013, allocations: 0.8625 MB / 0.7227 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003015/0.2016, allocations: 108.5 kB / 0.7228 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.2018, allocations: 155.4 kB / 0.7229 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.2018, allocations: 0 / 0.7229 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.2387, allocations: 9.912 MB / 0.7326 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.73, allocations: 1.875 kB / 0.7326 GB, free: 8.789 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)