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.001055/0.001055, allocations: 99.38 kB / 16.45 MB, free: 6.438 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.001095/0.001095, allocations: 188.9 kB / 17.38 MB, free: 5.691 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.227/1.227, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04431/0.04431, allocations: 8.097 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08688, allocations: 51.5 MB / 465.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001912/0.08883, allocations: 0.9445 MB / 466.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.0901, allocations: 1.154 MB / 467.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.09015, allocations: 4 kB / 467.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.09038, allocations: 59.7 kB / 467.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.09052, allocations: 27.84 kB / 467.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.496e-05/0.0906, allocations: 23.92 kB / 467.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.09069, allocations: 55.72 kB / 467.7 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.09081, allocations: 31.97 kB / 467.8 MB, free: 408 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.09086, allocations: 27.86 kB / 467.8 MB, free: 380 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.09094, allocations: 31.84 kB / 467.8 MB, free: 348 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.09096, allocations: 12 kB / 467.8 MB, free: 336 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.09109, allocations: 55.92 kB / 467.9 MB, free: 280 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.09111, allocations: 11.94 kB / 467.9 MB, free: 268 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.09115, allocations: 27.86 kB / 467.9 MB, free: 240 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.09136, allocations: 115.8 kB / 468 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.09137, allocations: 0 / 468 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09137, allocations: 0 / 468 MB, free: 124 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.09139, allocations: 0 / 468 MB, free: 124 kB / 334.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.0005424/0.09193, allocations: 387.1 kB / 468.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.09198, allocations: 19.89 kB / 468.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.09202, allocations: 34.75 kB / 468.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.09205, allocations: 12.86 kB / 468.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.09217, allocations: 168.3 kB / 468.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.09219, allocations: 8.375 kB / 468.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.09221, allocations: 8.312 kB / 468.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.09235, allocations: 78.23 kB / 468.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.09237, allocations: 3.938 kB / 468.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.09238, allocations: 0 / 468.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.09239, allocations: 0 / 468.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.09248, allocations: 51.97 kB / 468.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.09293, allocations: 348.6 kB / 469.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.407e-05/0.09299, allocations: 18.58 kB / 469.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.09302, allocations: 12.92 kB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.09315, allocations: 81.11 kB / 469.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.09318, allocations: 42.48 kB / 469.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.09319, allocations: 0 / 469.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001453/0.09334, allocations: 45.59 kB / 469.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.09339, allocations: 55.41 kB / 469.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.09349, allocations: 113.8 kB / 469.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.09351, allocations: 29.7 kB / 469.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.09357, allocations: 119.9 kB / 469.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.0936, allocations: 7.953 kB / 469.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.09364, allocations: 25.83 kB / 469.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.09375, allocations: 314.8 kB / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.09378, allocations: 11.98 kB / 470 MB, free: 13.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.0938, allocations: 12 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.09386, allocations: 32.78 kB / 470 MB, free: 13.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.09386, allocations: 0 / 470 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.09397, allocations: 65.69 kB / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.09399, allocations: 4 kB / 470.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.094, allocations: 4 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.09401, allocations: 7.938 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.09408, allocations: 4 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.0941, allocations: 4.5 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.09415, allocations: 7.953 kB / 470.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.09416, allocations: 3.984 kB / 470.1 MB, free: 13.77 MB / 350.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 6.777e-05/0.09423, allocations: 117.8 kB / 470.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.09426, allocations: 0 / 470.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.624e-05/0.09436, allocations: 53.17 kB / 470.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.09438, allocations: 7.969 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.09439, allocations: 0 / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.0944, allocations: 0 / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.09456, allocations: 177.6 kB / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.09457, allocations: 3.938 kB / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.09459, allocations: 4 kB / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.0946, allocations: 0 / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.09461, allocations: 0 / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-05/0.09464, allocations: 3.938 kB / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.09464, allocations: 0 / 470.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.09474, allocations: 147.4 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.09479, allocations: 77.11 kB / 470.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.09481, allocations: 0 / 470.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.09487, allocations: 3.938 kB / 470.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.09489, allocations: 7.984 kB / 470.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.09489, allocations: 0 / 470.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.417e-05/0.09495, allocations: 95.27 kB / 470.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09496, allocations: 3.938 kB / 470.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000225/0.09519, allocations: 23.95 kB / 470.8 MB, free: 12.95 MB / 350.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.0003868/0.09558, allocations: 0.6772 MB / 471.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.09568, allocations: 24.03 kB / 471.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.09569, allocations: 0 / 471.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.09571, allocations: 7.984 kB / 471.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.09591, allocations: 7.938 kB / 471.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.09632, allocations: 188.5 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.09657, allocations: 0.6845 MB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.959e-05/0.0966, allocations: 11.98 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.09664, allocations: 19.42 kB / 472.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.09665, allocations: 0 / 472.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.1141, allocations: 1.609 MB / 474.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/7.352, allocations: 6.781 kB / 474.1 MB, free: 9.68 MB / 350.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)