Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",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.001098/0.001098, allocations: 101.9 kB / 16.45 MB, free: 6.43 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.001637/0.001637, allocations: 188.9 kB / 17.39 MB, free: 5.688 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.25/1.25, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04458/0.04458, allocations: 8.09 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 414 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07645/0.07761, allocations: 51.51 MB / 465.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002102/0.07975, allocations: 0.9755 MB / 466.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.08111, allocations: 1.111 MB / 467.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.08119, allocations: 0 / 467.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.08148, allocations: 75.62 kB / 467.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.08165, allocations: 35.78 kB / 467.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.08225, allocations: 310.7 kB / 468 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.08237, allocations: 67.64 kB / 468 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.08249, allocations: 28.16 kB / 468.1 MB, free: 108 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.08254, allocations: 23.94 kB / 468.1 MB, free: 84 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.926e-05/0.08263, allocations: 39.84 kB / 468.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.08265, allocations: 4 kB / 468.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.08285, allocations: 71.84 kB / 468.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.08288, allocations: 11.94 kB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.08293, allocations: 35.86 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.08317, allocations: 127.7 kB / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.08319, allocations: 3.938 kB / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0832, allocations: 0 / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.08321, allocations: 0 / 468.4 MB, free: 15.79 MB / 350.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.0005508/0.08376, allocations: 399.1 kB / 468.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.08381, allocations: 15.89 kB / 468.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.08386, allocations: 38.73 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.08389, allocations: 8.891 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.08402, allocations: 172.3 kB / 469 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.08404, allocations: 4.375 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.08406, allocations: 8.375 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.08421, allocations: 81.98 kB / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.08423, allocations: 0 / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.08424, allocations: 4 kB / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.08426, allocations: 4 kB / 469.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.08436, allocations: 63.95 kB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.08484, allocations: 352.5 kB / 469.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/0.08494, allocations: 46.52 kB / 469.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.08499, allocations: 20.97 kB / 469.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.08511, allocations: 85.11 kB / 469.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.08514, allocations: 34.56 kB / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.08515, allocations: 0 / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001866/0.08534, allocations: 65.69 kB / 469.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.08539, allocations: 55.34 kB / 469.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.08548, allocations: 117.8 kB / 469.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.0855, allocations: 29.7 kB / 469.9 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.08556, allocations: 112 kB / 470 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.08558, allocations: 15.84 kB / 470.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.08563, allocations: 21.7 kB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.08574, allocations: 322.8 kB / 470.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.08578, allocations: 15.98 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.08581, allocations: 12 kB / 470.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.08588, allocations: 36.86 kB / 470.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.08589, allocations: 0 / 470.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001057/0.086, allocations: 77.64 kB / 470.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.08602, allocations: 4 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.08603, allocations: 4 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.08605, allocations: 3.938 kB / 470.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.08614, allocations: 15.98 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.08615, allocations: 3.938 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.08618, allocations: 0 / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.08619, allocations: 4.25 kB / 470.6 MB, free: 13.33 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 (7): * Single equations (assignments): 7 * 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 7.242e-05/0.08627, allocations: 109.8 kB / 470.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.0863, allocations: 11.89 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.08646, allocations: 89.58 kB / 470.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.08647, allocations: 4 kB / 470.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.08648, allocations: 3.938 kB / 470.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.08649, allocations: 0 / 470.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.08667, allocations: 181.6 kB / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.08668, allocations: 4 kB / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.08673, allocations: 8 kB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.08674, allocations: 0 / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.08675, allocations: 0 / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.08676, allocations: 0 / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.08676, allocations: 3.938 kB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.08691, allocations: 167.5 kB / 471.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.08696, allocations: 81.05 kB / 471.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.08698, allocations: 4 kB / 471.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.08704, allocations: 0 / 471.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.08706, allocations: 11.86 kB / 471.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.08707, allocations: 4 kB / 471.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.08712, allocations: 83.28 kB / 471.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.08712, allocations: 0 / 471.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.08736, allocations: 27.94 kB / 471.4 MB, free: 12.45 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 (6): * Single equations (assignments): 6 * 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.0004168/0.08779, allocations: 0.7048 MB / 472.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.08791, allocations: 43.92 kB / 472.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.08792, allocations: 0 / 472.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.08795, allocations: 16 kB / 472.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.08816, allocations: 15.8 kB / 472.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.0893, allocations: 1.318 MB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.08955, allocations: 0.6961 MB / 474.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.304e-05/0.08959, allocations: 7.984 kB / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.08964, allocations: 23.44 kB / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.08964, allocations: 0 / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.1073, allocations: 1.823 MB / 476 MB, free: 7.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.114, allocations: 7.172 kB / 476 MB, free: 7.719 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneBank_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_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)