Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.OneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneBank") translateModel(PowerSysPro.Tests.OneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneBank") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 184.1 kB / 16.13 MB, free: 5.266 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.7 MB / 242.6 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.000829, allocations: 93.64 kB / 293.8 MB, free: 9.504 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04961/0.04961, allocations: 8.106 MB / 353 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 52.53 MB / 468.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.001075/0.1036, allocations: 0.6495 MB / 469.4 MB, free: 2.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.105, allocations: 1.54 MB / 470.9 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.1051, allocations: 4 kB / 470.9 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.1054, allocations: 67.77 kB / 471 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.1055, allocations: 31.83 kB / 471 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.1061, allocations: 0.653 MB / 471.7 MB, free: 420 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1062, allocations: 59.72 kB / 471.7 MB, free: 360 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1064, allocations: 28.17 kB / 471.8 MB, free: 328 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.1064, allocations: 19.88 kB / 471.8 MB, free: 308 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.1065, allocations: 31.84 kB / 471.8 MB, free: 276 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1065, allocations: 4 kB / 471.8 MB, free: 272 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1067, allocations: 59.91 kB / 471.9 MB, free: 212 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.1067, allocations: 8 kB / 471.9 MB, free: 204 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.1068, allocations: 57.5 kB / 471.9 MB, free: 140 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.107, allocations: 123.8 kB / 472.1 MB, free: 16 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.107, allocations: 8 kB / 472.1 MB, free: 8 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.107, allocations: 4 kB / 472.1 MB, free: 4 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.107, allocations: 0 / 472.1 MB, free: 4 kB / 298.7 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.0005956/0.1076, allocations: 375.3 kB / 472.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1077, allocations: 12.03 kB / 472.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.1077, allocations: 4.938 kB / 472.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1079, allocations: 172.2 kB / 472.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1079, allocations: 4.375 kB / 472.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1079, allocations: 8.375 kB / 472.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1081, allocations: 86.22 kB / 472.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1081, allocations: 7.875 kB / 472.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1081, allocations: 3.984 kB / 472.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1081, allocations: 4 kB / 472.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1082, allocations: 51.98 kB / 472.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.1088, allocations: 360.5 kB / 473.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.266e-05/0.1089, allocations: 38.56 kB / 473.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.1089, allocations: 16.98 kB / 473.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.1091, allocations: 97.02 kB / 473.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.1091, allocations: 30.56 kB / 473.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1091, allocations: 0 / 473.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002005/0.1093, allocations: 77.53 kB / 473.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1094, allocations: 59.41 kB / 473.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.1095, allocations: 114 kB / 473.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1095, allocations: 25.7 kB / 473.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1096, allocations: 100 kB / 473.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.1096, allocations: 19.73 kB / 473.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1096, allocations: 0 / 473.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1097, allocations: 314.8 kB / 474 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.1097, allocations: 19.98 kB / 474 MB, free: 13.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.1098, allocations: 16.06 kB / 474 MB, free: 13.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.1099, allocations: 40.86 kB / 474.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1099, allocations: 0 / 474.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/0.11, allocations: 73.53 kB / 474.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.11, allocations: 8 kB / 474.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.11, allocations: 0 / 474.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.11, allocations: 0 / 474.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.1101, allocations: 11.98 kB / 474.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1101, allocations: 3.938 kB / 474.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.1102, allocations: 4 kB / 474.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1102, allocations: 4 kB / 474.2 MB, free: 13.65 MB / 314.7 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 8.769e-05/0.1103, allocations: 117.8 kB / 474.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.1103, allocations: 7.906 kB / 474.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.1105, allocations: 81.83 kB / 474.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1105, allocations: 0 / 474.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1105, allocations: 3.938 kB / 474.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1105, allocations: 0 / 474.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.1107, allocations: 185.6 kB / 474.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1107, allocations: 0 / 474.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.1108, allocations: 8 kB / 474.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1108, allocations: 4 kB / 474.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1108, allocations: 0 / 474.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1108, allocations: 4 kB / 474.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1108, allocations: 3.938 kB / 474.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.111, allocations: 163.4 kB / 474.8 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.111, allocations: 85.05 kB / 474.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.111, allocations: 3.984 kB / 474.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.1111, allocations: 8 kB / 474.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1111, allocations: 7.938 kB / 474.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1111, allocations: 3.938 kB / 474.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.1112, allocations: 91.2 kB / 474.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1112, allocations: 0 / 474.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.1114, allocations: 16 kB / 475 MB, free: 12.77 MB / 314.7 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.0001666/0.1116, allocations: 119.8 kB / 475.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.1117, allocations: 35.92 kB / 475.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1117, allocations: 0 / 475.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.1118, allocations: 20 kB / 475.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.112, allocations: 4 kB / 475.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.1123, allocations: 218.4 kB / 475.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1126, allocations: 0.6926 MB / 476 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.935e-05/0.1127, allocations: 8.25 kB / 476.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.1127, allocations: 7.438 kB / 476.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.9e-07/0.1127, allocations: 0 / 476.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of Templates: time 0.00275/0.1155, allocations: 0.6637 MB / 476.7 MB, free: 10.95 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneBank.makefile (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 & ./PowerSysPro_PowerSysPro.Tests.OneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)