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.001479/0.001479, allocations: 103.7 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.001729/0.001729, allocations: 190.1 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0463/0.0463, allocations: 8.091 MB / 299.2 MB, free: 6.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 55.91 kB / 361.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1956, allocations: 51.51 MB / 413.3 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001867/0.1975, allocations: 0.9252 MB / 414.3 MB, free: 24.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000966/0.1985, allocations: 1.162 MB / 415.4 MB, free: 23.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.1986, allocations: 0 / 415.4 MB, free: 23.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1988, allocations: 63.7 kB / 415.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.1989, allocations: 19.84 kB / 415.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.923e-05/0.199, allocations: 35.83 kB / 415.6 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.1991, allocations: 51.8 kB / 415.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.1992, allocations: 31.97 kB / 415.6 MB, free: 23.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.1992, allocations: 23.86 kB / 415.7 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.1993, allocations: 27.92 kB / 415.7 MB, free: 23.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1993, allocations: 8 kB / 415.7 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1994, allocations: 59.91 kB / 415.7 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.1995, allocations: 19.92 kB / 415.8 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.1995, allocations: 23.88 kB / 415.8 MB, free: 23.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1996, allocations: 113.9 kB / 415.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1997, allocations: 0 / 415.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1997, allocations: 3.938 kB / 415.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1997, allocations: 0 / 415.9 MB, free: 23.04 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.0004356/0.2001, allocations: 383.9 kB / 416.3 MB, free: 22.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2002, allocations: 15.89 kB / 416.3 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.644e-05/0.2002, allocations: 38.73 kB / 416.3 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.2002, allocations: 8.844 kB / 416.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.2003, allocations: 168.3 kB / 416.5 MB, free: 22.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2003, allocations: 4.375 kB / 416.5 MB, free: 22.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2003, allocations: 8.375 kB / 416.5 MB, free: 22.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.2005, allocations: 74.23 kB / 416.6 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2005, allocations: 7.938 kB / 416.6 MB, free: 22.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.2005, allocations: 8 kB / 416.6 MB, free: 22.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2005, allocations: 0 / 416.6 MB, free: 22.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.2006, allocations: 47.97 kB / 416.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.2009, allocations: 344.5 kB / 417 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/0.201, allocations: 22.58 kB / 417 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.201, allocations: 16.86 kB / 417 MB, free: 21.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.2011, allocations: 85.09 kB / 417.1 MB, free: 21.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.2011, allocations: 34.55 kB / 417.1 MB, free: 21.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.2011, allocations: 0 / 417.1 MB, free: 21.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.2012, allocations: 49.58 kB / 417.2 MB, free: 21.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.695e-05/0.2013, allocations: 51.41 kB / 417.2 MB, free: 21.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.2014, allocations: 117.8 kB / 417.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.2014, allocations: 29.83 kB / 417.4 MB, free: 21.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.2014, allocations: 115.8 kB / 417.5 MB, free: 21.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.2014, allocations: 7.906 kB / 417.5 MB, free: 21.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.2015, allocations: 21.7 kB / 417.5 MB, free: 21.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.481e-05/0.2015, allocations: 314.8 kB / 417.8 MB, free: 20.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.2015, allocations: 15.98 kB / 417.9 MB, free: 20.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.2015, allocations: 12 kB / 417.9 MB, free: 20.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.2016, allocations: 28.84 kB / 417.9 MB, free: 20.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2016, allocations: 0 / 417.9 MB, free: 20.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.399e-05/0.2017, allocations: 65.69 kB / 418 MB, free: 20.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2017, allocations: 8 kB / 418 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2017, allocations: 0 / 418 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2017, allocations: 3.938 kB / 418 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.2018, allocations: 11.94 kB / 418 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2018, allocations: 0 / 418 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.2019, allocations: 3.906 kB / 418 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.2019, allocations: 3.984 kB / 418 MB, free: 20.7 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.259e-05/0.2019, allocations: 113.8 kB / 418.1 MB, free: 20.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.202, allocations: 8 kB / 418.1 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.202, allocations: 57.11 kB / 418.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2021, allocations: 7.922 kB / 418.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2021, allocations: 192 / 418.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2021, allocations: 0 / 418.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2022, allocations: 173.7 kB / 418.3 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2022, allocations: 0 / 418.3 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.2022, allocations: 7.938 kB / 418.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2022, allocations: 0 / 418.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.2022, allocations: 0 / 418.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2023, allocations: 7.969 kB / 418.4 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2023, allocations: 0 / 418.4 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.353e-05/0.2023, allocations: 135.5 kB / 418.5 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.2024, allocations: 85.02 kB / 418.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2024, allocations: 3.984 kB / 418.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.2024, allocations: 7.875 kB / 418.6 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.2025, allocations: 4 kB / 418.6 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2025, allocations: 4.031 kB / 418.6 MB, free: 19.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.2025, allocations: 91.27 kB / 418.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2025, allocations: 0 / 418.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.2028, allocations: 19.94 kB / 418.7 MB, free: 19.88 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.0002222/0.203, allocations: 0.6772 MB / 419.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.381e-05/0.2031, allocations: 27.98 kB / 419.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2031, allocations: 0 / 419.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.2031, allocations: 7.938 kB / 419.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.2033, allocations: 10.47 kB / 419.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.2037, allocations: 184.8 kB / 419.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.035e-05/0.2038, allocations: 0.6807 MB / 420.3 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.574e-05/0.2038, allocations: 4 kB / 420.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.2038, allocations: 19.42 kB / 420.3 MB, free: 18.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2038, allocations: 0 / 420.3 MB, free: 18.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.2195, allocations: 1.572 MB / 421.9 MB, free: 16.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.31, allocations: 11.12 kB / 421.9 MB, free: 16.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)