Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.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(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",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.001296/0.001296, allocations: 105.9 kB / 16.31 MB, free: 5.879 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.001407/0.001407, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04917/0.04917, allocations: 8.105 MB / 299.2 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.88 kB / 361.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1938, allocations: 51.5 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001902/0.1958, allocations: 0.9321 MB / 414.3 MB, free: 24.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.1967, allocations: 1.166 MB / 415.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.1968, allocations: 0 / 415.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.197, allocations: 59.7 kB / 415.5 MB, free: 23.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.1971, allocations: 27.84 kB / 415.5 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.754e-05/0.1972, allocations: 23.92 kB / 415.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.1973, allocations: 55.78 kB / 415.6 MB, free: 23.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1974, allocations: 27.98 kB / 415.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.1974, allocations: 23.81 kB / 415.7 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.1975, allocations: 27.91 kB / 415.7 MB, free: 23.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1975, allocations: 4 kB / 415.7 MB, free: 23.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1976, allocations: 63.91 kB / 415.8 MB, free: 23.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.1976, allocations: 11.94 kB / 415.8 MB, free: 23.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.1977, allocations: 31.86 kB / 415.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.1978, allocations: 113.9 kB / 415.9 MB, free: 23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1978, allocations: 7.938 kB / 415.9 MB, free: 22.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1979, allocations: 0 / 415.9 MB, free: 22.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1979, allocations: 0 / 415.9 MB, free: 22.99 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004307/0.1983, allocations: 383.4 kB / 416.3 MB, free: 22.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1983, allocations: 11.89 kB / 416.3 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.397e-05/0.1984, allocations: 38.75 kB / 416.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.1984, allocations: 8.844 kB / 416.3 MB, free: 22.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.813e-05/0.1985, allocations: 168.3 kB / 416.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1985, allocations: 8.375 kB / 416.5 MB, free: 22.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.1985, allocations: 8.375 kB / 416.5 MB, free: 22.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1986, allocations: 74.17 kB / 416.6 MB, free: 22.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1986, allocations: 3.938 kB / 416.6 MB, free: 22.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1987, allocations: 8 kB / 416.6 MB, free: 22.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1987, allocations: 0 / 416.6 MB, free: 22.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.808e-05/0.1987, allocations: 47.97 kB / 416.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.1991, allocations: 352.5 kB / 417 MB, free: 21.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.1992, allocations: 26.56 kB / 417 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.1992, allocations: 8.922 kB / 417 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.434e-05/0.1993, allocations: 77.11 kB / 417.1 MB, free: 21.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.1993, allocations: 38.56 kB / 417.1 MB, free: 21.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.694e-06/0.1993, allocations: 3.938 kB / 417.2 MB, free: 21.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.1994, allocations: 49.66 kB / 417.2 MB, free: 21.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.1995, allocations: 55.44 kB / 417.3 MB, free: 21.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.1995, allocations: 117.8 kB / 417.4 MB, free: 21.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.1996, allocations: 25.7 kB / 417.4 MB, free: 21.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.1996, allocations: 115.8 kB / 417.5 MB, free: 21.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.1996, allocations: 3.906 kB / 417.5 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.1996, allocations: 21.7 kB / 417.5 MB, free: 21.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.1997, allocations: 318.8 kB / 417.8 MB, free: 20.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.1997, allocations: 12 kB / 417.9 MB, free: 20.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.1997, allocations: 15.98 kB / 417.9 MB, free: 20.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.1998, allocations: 28.8 kB / 417.9 MB, free: 20.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1998, allocations: 0 / 417.9 MB, free: 20.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.166e-05/0.1999, allocations: 61.69 kB / 418 MB, free: 20.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1999, allocations: 4 kB / 418 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.1999, allocations: 0 / 418 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1999, allocations: 11.92 kB / 418 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.2, allocations: 4 kB / 418 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2, allocations: 0 / 418 MB, free: 20.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.2001, allocations: 15.91 kB / 418 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2001, allocations: 0 / 418 MB, free: 20.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.2001, allocations: 117.8 kB / 418.1 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.2002, allocations: 3.938 kB / 418.1 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/0.2003, allocations: 49.17 kB / 418.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2003, allocations: 7.938 kB / 418.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2003, allocations: 0 / 418.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2003, allocations: 0 / 418.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2004, allocations: 173.6 kB / 418.3 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2004, allocations: 4.219 kB / 418.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.2004, allocations: 4 kB / 418.3 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2005, allocations: 4 kB / 418.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.2005, allocations: 0 / 418.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2005, allocations: 3.938 kB / 418.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2005, allocations: 0 / 418.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.657e-05/0.2005, allocations: 143.5 kB / 418.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.2006, allocations: 81.02 kB / 418.6 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2006, allocations: 7.969 kB / 418.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.2007, allocations: 3.938 kB / 418.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.2007, allocations: 0 / 418.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.2007, allocations: 4 kB / 418.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.2007, allocations: 99.25 kB / 418.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2007, allocations: 0 / 418.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.201, allocations: 15.94 kB / 418.7 MB, free: 19.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002391/0.2012, allocations: 0.6811 MB / 419.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.863e-05/0.2013, allocations: 19.98 kB / 419.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2013, allocations: 0 / 419.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/0.2013, allocations: 12.03 kB / 419.4 MB, free: 19.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.2015, allocations: 13.78 kB / 419.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.2019, allocations: 184.7 kB / 419.6 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.265e-05/0.202, allocations: 0.6846 MB / 420.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.202, allocations: 12.05 kB / 420.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.2021, allocations: 15.42 kB / 420.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2021, allocations: 0 / 420.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.2174, allocations: 1.554 MB / 421.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.759, allocations: 20.98 kB / 421.9 MB, free: 16.59 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)