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.001517/0.001522, allocations: 112 kB / 16.45 MB, free: 6.445 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.001444/0.001444, allocations: 188.3 kB / 17.38 MB, free: 5.668 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.333/1.333, 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.05119/0.05119, allocations: 8.096 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 59.89 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.09246, allocations: 51.51 MB / 465.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002203/0.0947, allocations: 0.9716 MB / 466.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.09614, allocations: 1.111 MB / 467.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.0962, allocations: 4 kB / 467.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.09647, allocations: 67.64 kB / 467.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.09663, allocations: 35.83 kB / 467.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.09724, allocations: 314.6 kB / 468 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.09737, allocations: 63.66 kB / 468 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.0975, allocations: 36.14 kB / 468.1 MB, free: 96 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.09756, allocations: 27.92 kB / 468.1 MB, free: 68 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.09765, allocations: 27.86 kB / 468.1 MB, free: 40 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.09767, allocations: 8 kB / 468.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.09785, allocations: 67.91 kB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.09788, allocations: 19.91 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.09793, allocations: 27.88 kB / 468.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.0982, allocations: 131.7 kB / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.09821, allocations: 0 / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.09822, allocations: 4 kB / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.09823, 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.0006497/0.09888, allocations: 395.1 kB / 468.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.09894, allocations: 15.83 kB / 468.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.09899, allocations: 42.73 kB / 468.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.09902, allocations: 8.891 kB / 468.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.09918, allocations: 168.3 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.09921, allocations: 4.375 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.09923, allocations: 4.375 kB / 469 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.09942, allocations: 89.92 kB / 469.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.09944, allocations: 4 kB / 469.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.09945, allocations: 4 kB / 469.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.09947, allocations: 4 kB / 469.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.09959, allocations: 55.97 kB / 469.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.1001, allocations: 360.5 kB / 469.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1002, allocations: 46.58 kB / 469.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.1003, allocations: 20.97 kB / 469.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.1004, allocations: 77.11 kB / 469.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1005, allocations: 34.56 kB / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1005, allocations: 0 / 469.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002218/0.1007, allocations: 73.62 kB / 469.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1007, allocations: 55.34 kB / 469.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.1008, allocations: 105.8 kB / 469.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1009, allocations: 37.7 kB / 469.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.101, allocations: 104.1 kB / 470 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.101, allocations: 15.84 kB / 470.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.101, allocations: 21.7 kB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1012, allocations: 322.8 kB / 470.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.1012, allocations: 15.98 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.1013, allocations: 12 kB / 470.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.1014, allocations: 44.78 kB / 470.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1014, allocations: 4 kB / 470.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001132/0.1015, allocations: 74.11 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1015, allocations: 6.5 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1015, allocations: 0 / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1015, allocations: 0 / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.1016, allocations: 15.98 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1016, allocations: 8 kB / 470.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.1017, allocations: 4 kB / 470.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1017, allocations: 0 / 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 9.99e-05/0.1018, allocations: 121.8 kB / 470.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1018, allocations: 7.953 kB / 470.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.102, allocations: 73.64 kB / 470.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.102, allocations: 0 / 470.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.102, allocations: 7.938 kB / 470.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.102, allocations: 4.25 kB / 470.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1022, allocations: 177.6 kB / 471 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1022, allocations: 4 kB / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.1023, allocations: 12 kB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1023, allocations: 7.984 kB / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1023, allocations: 4 kB / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1023, allocations: 0 / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1023, allocations: 7.875 kB / 471 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1025, allocations: 159.5 kB / 471.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.1026, allocations: 85.05 kB / 471.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1026, allocations: 0 / 471.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.1026, allocations: 7.984 kB / 471.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.1027, allocations: 3.938 kB / 471.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1027, allocations: 4 kB / 471.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.542e-05/0.1027, allocations: 87.28 kB / 471.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1027, allocations: 0 / 471.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000233/0.103, allocations: 19.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.0005148/0.1035, allocations: 0.7124 MB / 472.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.1036, allocations: 35.98 kB / 472.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1036, allocations: 4 kB / 472.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.1037, allocations: 19.94 kB / 472.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.1039, allocations: 11.92 kB / 472.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1052, allocations: 1.313 MB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1055, allocations: 0.6961 MB / 474.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.384e-05/0.1056, allocations: 8.375 kB / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.1056, allocations: 15.44 kB / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1056, allocations: 4.094 kB / 474.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.1402, allocations: 1.825 MB / 476 MB, free: 7.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/7.794, allocations: 8.062 kB / 476 MB, free: 7.715 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)