Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_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.0008418/0.0008418, allocations: 96.34 kB / 15.68 MB, free: 488 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.0009725/0.0009724, allocations: 174.3 kB / 16.57 MB, free: 6.391 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.381/1.381, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6875/0.6875, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 15.98 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1688, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004131/0.1729, allocations: 3.625 MB / 0.5603 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.1762, allocations: 2.164 MB / 0.5624 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.1765, allocations: 19.81 kB / 0.5624 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1767, allocations: 55.61 kB / 0.5625 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008191/0.1776, allocations: 291 kB / 0.5627 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.1783, allocations: 239.5 kB / 0.563 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.1789, allocations: 428.8 kB / 0.5634 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009304/0.1799, allocations: 418.8 kB / 0.5638 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.1803, allocations: 203.2 kB / 0.564 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.1807, allocations: 219.1 kB / 0.5642 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.1808, allocations: 16 kB / 0.5642 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.1813, allocations: 183.7 kB / 0.5644 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1815, allocations: 111.6 kB / 0.5645 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1816, allocations: 109.5 kB / 0.5646 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.1823, allocations: 0.5028 MB / 0.5651 GB, free: 3.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1823, allocations: 0 / 0.5651 GB, free: 3.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.1823, allocations: 0 / 0.5651 GB, free: 3.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1823, allocations: 0 / 0.5651 GB, free: 3.102 MB / 430.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.001248/0.1836, allocations: 0.7091 MB / 0.5658 GB, free: 2.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.1836, allocations: 8.031 kB / 0.5658 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1838, allocations: 78.52 kB / 0.5658 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.185, allocations: 179.2 kB / 0.566 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.1856, allocations: 383.6 kB / 0.5664 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.1857, allocations: 21 kB / 0.5664 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.1858, allocations: 47.89 kB / 0.5665 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009958/0.1868, allocations: 0.6474 MB / 0.5671 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.1868, allocations: 7.938 kB / 0.5671 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.1868, allocations: 12 kB / 0.5671 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.526e-05/0.1869, allocations: 51.97 kB / 0.5672 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.1877, allocations: 499.9 kB / 0.5676 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.191, allocations: 3.783 MB / 0.5713 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.1926, allocations: 0.6286 MB / 0.5719 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1927, allocations: 4 kB / 0.5719 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1927, allocations: 46.55 kB / 0.572 GB, free: 11.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.1927, allocations: 0 / 0.572 GB, free: 11.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002165/0.1949, allocations: 1.279 MB / 0.5732 GB, free: 10.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.195, allocations: 106.8 kB / 0.5733 GB, free: 10.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.1953, allocations: 393.8 kB / 0.5737 GB, free: 9.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.1954, allocations: 33.69 kB / 0.5737 GB, free: 9.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.1956, allocations: 279.4 kB / 0.574 GB, free: 9.344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/0.1957, allocations: 126.2 kB / 0.5741 GB, free: 9.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.1957, allocations: 8 kB / 0.5741 GB, free: 9.211 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1958, allocations: 358.8 kB / 0.5745 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.1961, allocations: 173 kB / 0.5746 GB, free: 8.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.1964, allocations: 371.2 kB / 0.575 GB, free: 8.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.1968, allocations: 223.9 kB / 0.5752 GB, free: 8.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1968, allocations: 3.938 kB / 0.5752 GB, free: 8.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009319/0.1977, allocations: 0.6775 MB / 0.5759 GB, free: 7.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1977, allocations: 8 kB / 0.5759 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1977, allocations: 4 kB / 0.5759 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.1981, allocations: 94.45 kB / 0.576 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.1985, allocations: 119.8 kB / 0.5761 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.2016, allocations: 4.052 MB / 0.5801 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.202, allocations: 31.97 kB / 0.5801 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.202, allocations: 27.98 kB / 0.5801 GB, free: 2.578 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.2023, allocations: 195.6 kB / 0.5803 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.2024, allocations: 52.56 kB / 0.5803 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008855/0.2033, allocations: 0.5137 MB / 0.5808 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2033, allocations: 7.938 kB / 0.5809 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2033, allocations: 4 kB / 0.5809 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.2034, allocations: 4 kB / 0.5809 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.2051, allocations: 1.287 MB / 0.5821 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2051, allocations: 0 / 0.5821 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2053, allocations: 63.91 kB / 0.5822 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.2056, allocations: 86.78 kB / 0.5823 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2056, allocations: 12 kB / 0.5823 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3604/0.566, allocations: 4.046 MB / 0.5862 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.5661, allocations: 7.672 kB / 0.5862 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.5673, allocations: 0.9066 MB / 0.5871 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.5676, allocations: 156.3 kB / 0.5873 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.5677, allocations: 15.58 kB / 0.5873 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.568, allocations: 20.73 kB / 0.5873 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.5681, allocations: 33.3 kB / 0.5873 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.5681, allocations: 15 kB / 0.5873 GB, free: 27.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003695/0.5685, allocations: 275.6 kB / 0.5876 GB, free: 27.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5685, allocations: 0 / 0.5876 GB, free: 27.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007001/0.5692, allocations: 122.9 kB / 0.5877 GB, free: 27.58 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.5704, allocations: 2.213 MB / 0.5899 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.5717, allocations: 0.8009 MB / 0.5907 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5718, allocations: 4.516 kB / 0.5907 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007357/0.5725, allocations: 0.5468 MB / 0.5912 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.5733, allocations: 127 kB / 0.5913 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.578, allocations: 7.153 MB / 0.5983 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.5784, allocations: 0.8692 MB / 0.5992 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003566/0.5788, allocations: 102.4 kB / 0.5993 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.579, allocations: 152.3 kB / 0.5994 GB, free: 18.54 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.579, allocations: 0 / 0.5994 GB, free: 18.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.6076, allocations: 9.4 MB / 0.6086 GB, free: 17.24 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.6078, allocations: 205 kB / 0.6088 GB, free: 17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.437, allocations: 1.406 kB / 0.6088 GB, free: 17 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: