Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.0007954/0.0007957, allocations: 92.94 kB / 15.7 MB, free: 472 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.0008071/0.0008073, allocations: 170.2 kB / 16.58 MB, free: 5.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.211/1.211, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6281/0.6281, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 10.31 kB / 493.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004626/0.1599, allocations: 3.831 MB / 0.5607 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.1643, allocations: 2.99 MB / 0.5636 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.1645, allocations: 4 kB / 0.5636 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.165, allocations: 155.1 kB / 0.5637 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006974/0.1657, allocations: 322.4 kB / 0.564 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.1662, allocations: 167.6 kB / 0.5642 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.1669, allocations: 0.6635 MB / 0.5648 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.1679, allocations: 0.7356 MB / 0.5656 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.1682, allocations: 183.2 kB / 0.5657 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.1685, allocations: 243.1 kB / 0.566 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.1686, allocations: 16 kB / 0.566 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004544/0.169, allocations: 235.7 kB / 0.5662 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.1692, allocations: 135.6 kB / 0.5663 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.1692, allocations: 101.5 kB / 0.5664 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006112/0.1699, allocations: 0.674 MB / 0.5671 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1699, allocations: 0 / 0.5671 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1699, allocations: 0 / 0.5671 GB, free: 1.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1699, allocations: 0 / 0.5671 GB, free: 1.148 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0011/0.171, allocations: 0.7129 MB / 0.5678 GB, free: 396 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1711, allocations: 8.031 kB / 0.5678 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.044e-05/0.1711, allocations: 74.52 kB / 0.5679 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/0.1735, allocations: 0.6898 MB / 0.5685 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.1742, allocations: 482.5 kB / 0.569 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1743, allocations: 24.66 kB / 0.569 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.1743, allocations: 35.97 kB / 0.5691 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.1757, allocations: 0.7826 MB / 0.5698 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1757, allocations: 0 / 0.5698 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.1758, allocations: 15.98 kB / 0.5698 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.1759, allocations: 52.59 kB / 0.5699 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.1776, allocations: 0.8804 MB / 0.5707 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.1814, allocations: 2.855 MB / 0.5735 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.1827, allocations: 0.5214 MB / 0.574 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/0.1833, allocations: 268.5 kB / 0.5743 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.1835, allocations: 89.09 kB / 0.5744 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1835, allocations: 38.56 kB / 0.5744 GB, free: 9.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 3.306e-06/0.1835, allocations: 7.922 kB / 0.5744 GB, free: 9.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.00995/0.1935, allocations: 3.205 MB / 0.5776 GB, free: 5.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1936, allocations: 85.05 kB / 0.5776 GB, free: 5.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/0.1941, allocations: 417.5 kB / 0.578 GB, free: 5.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.1942, allocations: 29.7 kB / 0.5781 GB, free: 5.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.1944, allocations: 239.8 kB / 0.5783 GB, free: 5.207 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.582e-05/0.1945, allocations: 90.73 kB / 0.5784 GB, free: 5.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.1945, allocations: 4 kB / 0.5784 GB, free: 5.113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1947, allocations: 342.8 kB / 0.5787 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.1954, allocations: 367.7 kB / 0.5791 GB, free: 4.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008067/0.1962, allocations: 449.2 kB / 0.5795 GB, free: 3.934 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008341/0.1971, allocations: 390.2 kB / 0.5799 GB, free: 3.555 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1971, allocations: 0 / 0.5799 GB, free: 3.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004446/0.2016, allocations: 1.54 MB / 0.5814 GB, free: 2.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.2017, allocations: 148 kB / 0.5815 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2017, allocations: 3.984 kB / 0.5815 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/0.2051, allocations: 0.8481 MB / 0.5823 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.2057, allocations: 131.8 kB / 0.5825 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3637/0.5694, allocations: 4.656 MB / 0.587 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009509/0.5704, allocations: 123.4 kB / 0.5871 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/0.5705, allocations: 13.97 kB / 0.5871 GB, free: 30.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5705, allocations: 3.906 kB / 0.5871 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00482/0.5753, allocations: 1.261 MB / 0.5884 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.5754, allocations: 5.797 kB / 0.5884 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.578, allocations: 0.5549 MB / 0.5889 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007801/0.5789, allocations: 143.5 kB / 0.5891 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.583, allocations: 2.498 MB / 0.5915 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008473/0.5839, allocations: 116.4 kB / 0.5916 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.584, allocations: 14.84 kB / 0.5916 GB, free: 28.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005158/0.5845, allocations: 313.1 kB / 0.5919 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.5846, allocations: 45.09 kB / 0.592 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/0.5896, allocations: 1.426 MB / 0.5934 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.5897, allocations: 3.219 kB / 0.5934 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5897, allocations: 0.75 kB / 0.5934 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.5897, allocations: 3.156 kB / 0.5934 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006505/0.5962, allocations: 2.098 MB / 0.5954 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.5963, allocations: 0.875 kB / 0.5954 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.5968, allocations: 89.86 kB / 0.5955 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003717/0.6005, allocations: 0.7877 MB / 0.5963 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.262e-05/0.6006, allocations: 13.52 kB / 0.5963 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005772/0.6064, allocations: 4.48 MB / 0.6007 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6064, allocations: 9.516 kB / 0.6007 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.6104, allocations: 1.43 MB / 0.6021 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.6107, allocations: 177.5 kB / 0.6022 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.6107, allocations: 7.344 kB / 0.6022 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.6112, allocations: 94.84 kB / 0.6023 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.6114, allocations: 30.72 kB / 0.6024 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.6114, allocations: 9.656 kB / 0.6024 GB, free: 23.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003865/0.6118, allocations: 310.6 kB / 0.6027 GB, free: 23.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6118, allocations: 3.609 kB / 0.6027 GB, free: 23.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009636/0.6128, allocations: 202 kB / 0.6029 GB, free: 23.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004291/0.6171, allocations: 2.001 MB / 0.6048 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00351/0.6206, allocations: 1.621 MB / 0.6064 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6206, allocations: 0 / 0.6064 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.6218, allocations: 0.6749 MB / 0.6071 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.6226, allocations: 124.4 kB / 0.6072 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009116/0.6317, allocations: 4.23 MB / 0.6113 GB, free: 18.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.6323, allocations: 0.9159 MB / 0.6122 GB, free: 17.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005975/0.6329, allocations: 159.6 kB / 0.6124 GB, free: 17.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.6331, allocations: 136.4 kB / 0.6125 GB, free: 17.17 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6331, allocations: 1.188 kB / 0.6125 GB, free: 17.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.6642, allocations: 15.87 MB / 0.628 GB, free: 5.676 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.6645, allocations: 230 kB / 0.6282 GB, free: 5.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.526, allocations: 0 / 0.6282 GB, free: 5.434 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: