Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 174.3 kB / 16.12 MB, free: 5.691 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.45/1.45, allocations: 225.7 MB / 242.6 MB, free: 8.469 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.0008094/0.0008094, allocations: 98.48 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.04579/0.04579, allocations: 8.103 MB / 353 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 11.98 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 52.52 MB / 468.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.001376/0.1074, allocations: 1.191 MB / 469.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1091, allocations: 2.345 MB / 472.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.23e-05/0.1092, allocations: 4 kB / 472.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.1095, allocations: 99.59 kB / 472.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.1098, allocations: 111.4 kB / 472.5 MB, free: 15.61 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.1119, allocations: 1.986 MB / 474.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.1123, allocations: 242.8 kB / 474.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1124, allocations: 64.22 kB / 474.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-05/0.1125, allocations: 83.7 kB / 474.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1128, allocations: 127.4 kB / 475 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1128, allocations: 8 kB / 475 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.1132, allocations: 187.8 kB / 475.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.1132, allocations: 39.78 kB / 475.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1134, allocations: 133.2 kB / 475.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.1139, allocations: 383 kB / 475.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1139, allocations: 4 kB / 475.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1139, allocations: 0 / 475.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1139, allocations: 0 / 475.7 MB, free: 12.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002374/0.1163, allocations: 0.7835 MB / 476.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1164, allocations: 8.031 kB / 476.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.1165, allocations: 28.66 kB / 476.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1168, allocations: 256.7 kB / 476.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.1168, allocations: 12.38 kB / 476.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.1169, allocations: 20.38 kB / 476.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.1173, allocations: 265.6 kB / 477.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1173, allocations: 192 / 477.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.1174, allocations: 19.92 kB / 477.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1174, allocations: 4 kB / 477.1 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.1178, allocations: 243.9 kB / 477.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.1193, allocations: 1.152 MB / 478.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.1198, allocations: 303.2 kB / 478.8 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.12, allocations: 157.3 kB / 478.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.499e-05/0.1201, allocations: 8.234 kB / 478.9 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/0.1205, allocations: 223.5 kB / 479.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.1205, allocations: 0 / 479.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002792/0.1233, allocations: 0.9273 MB / 480.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1233, allocations: 55.41 kB / 480.1 MB, free: 7.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1235, allocations: 188.2 kB / 480.3 MB, free: 7.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.1236, allocations: 33.7 kB / 480.4 MB, free: 7.121 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.1237, allocations: 124.9 kB / 480.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.1238, allocations: 102.4 kB / 480.6 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.1238, allocations: 8 kB / 480.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1239, allocations: 330.8 kB / 480.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.1242, allocations: 148 kB / 481.1 MB, free: 6.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.1244, allocations: 183.1 kB / 481.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.125, allocations: 363.5 kB / 481.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.125, allocations: 0 / 481.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001611/0.1266, allocations: 0.6459 MB / 482.2 MB, free: 5.203 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1266, allocations: 4 kB / 482.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1267, allocations: 0 / 482.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.1282, allocations: 344.5 kB / 482.6 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.1284, allocations: 55.91 kB / 482.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.132, allocations: 2.428 MB / 485.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1323, allocations: 15.91 kB / 485.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.1323, allocations: 12 kB / 485.1 MB, free: 2.211 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.1325, allocations: 137.8 kB / 485.2 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.1325, allocations: 23.72 kB / 485.2 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.1342, allocations: 0.6552 MB / 485.9 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1342, allocations: 4 kB / 485.9 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1342, allocations: 0 / 485.9 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1342, allocations: 3.938 kB / 485.9 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.1346, allocations: 401.2 kB / 486.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.1346, allocations: 4 kB / 486.3 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.1348, allocations: 43.92 kB / 486.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.1363, allocations: 336.5 kB / 486.7 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.1363, allocations: 11.98 kB / 486.7 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2046/0.3409, allocations: 2.384 MB / 489.1 MB, free: 25.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3409, allocations: 3.188 kB / 489.1 MB, free: 25.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.3426, allocations: 0.6359 MB / 489.7 MB, free: 25.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.3427, allocations: 103.9 kB / 489.8 MB, free: 25.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.3428, allocations: 14.09 kB / 489.8 MB, free: 25.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.343, allocations: 17.48 kB / 489.8 MB, free: 25.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3431, allocations: 24.91 kB / 489.9 MB, free: 25.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.3431, allocations: 16.2 kB / 489.9 MB, free: 25.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3433, allocations: 127.4 kB / 490 MB, free: 25.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3433, allocations: 1.312 kB / 490 MB, free: 25.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.3437, allocations: 99.58 kB / 490.1 MB, free: 25.29 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001904/0.3439, allocations: 129.2 kB / 490.2 MB, free: 25.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3453, allocations: 0.6033 MB / 490.8 MB, free: 24.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3453, allocations: 0.8125 kB / 490.8 MB, free: 24.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.3463, allocations: 435.5 kB / 491.3 MB, free: 24.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3466, allocations: 27.62 kB / 491.3 MB, free: 24.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.3475, allocations: 0.6061 MB / 491.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.3477, allocations: 0.7523 MB / 492.6 MB, free: 23.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.3478, allocations: 31.08 kB / 492.7 MB, free: 23.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.3479, allocations: 30.95 kB / 492.7 MB, free: 23.57 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3479, allocations: 0 / 492.7 MB, free: 23.57 MB / 314.7 MB Notification: Performance of Templates: time 0.01104/0.359, allocations: 5.412 MB / 498.1 MB, free: 23.16 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)