Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.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.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 181.5 kB / 16.13 MB, free: 5.559 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.394/1.394, allocations: 225.7 MB / 242.6 MB, free: 8.492 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.0007884/0.0007884, allocations: 93.42 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.04575/0.04575, allocations: 8.106 MB / 353 MB, free: 14.2 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 8 kB / 416.2 MB, free: 56.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.09939, allocations: 52.53 MB / 468.7 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.002373/0.1018, allocations: 2.402 MB / 471.1 MB, free: 1.133 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1037, allocations: 1.615 MB / 472.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1039, allocations: 8 kB / 472.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004097/0.1043, allocations: 111.6 kB / 472.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1047, allocations: 123.3 kB / 473 MB, free: 15.07 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 diesel.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.1068, allocations: 1.998 MB / 475 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.1072, allocations: 290.6 kB / 475.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.1074, allocations: 103.5 kB / 475.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1075, allocations: 107.6 kB / 475.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1078, allocations: 175.3 kB / 475.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.1078, allocations: 12 kB / 475.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.1082, allocations: 195.8 kB / 475.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.1083, allocations: 51.7 kB / 475.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1085, allocations: 157 kB / 476.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.109, allocations: 446.8 kB / 476.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.109, allocations: 0 / 476.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.109, allocations: 0 / 476.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.109, allocations: 0 / 476.5 MB, free: 11.28 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001845/0.1108, allocations: 0.741 MB / 477.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1109, allocations: 8.031 kB / 477.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/0.111, allocations: 36.56 kB / 477.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1113, allocations: 264.5 kB / 477.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-05/0.1114, allocations: 80.53 kB / 477.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.1115, allocations: 28.38 kB / 477.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.112, allocations: 341.4 kB / 478 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.112, allocations: 3.938 kB / 478 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.1121, allocations: 19.94 kB / 478 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1121, allocations: 8 kB / 478 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.1126, allocations: 330.1 kB / 478.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.1141, allocations: 1.319 MB / 479.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1152, allocations: 0.563 MB / 480.2 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.1155, allocations: 212.8 kB / 480.4 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-05/0.1155, allocations: 7.984 kB / 480.4 MB, free: 7.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.116, allocations: 267.8 kB / 480.7 MB, free: 6.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.116, allocations: 4 kB / 480.7 MB, free: 6.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.002907/0.1189, allocations: 1.061 MB / 481.8 MB, free: 5.719 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.119, allocations: 55.41 kB / 481.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1192, allocations: 189.2 kB / 482 MB, free: 5.461 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.1192, allocations: 37.7 kB / 482 MB, free: 5.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.1193, allocations: 144.6 kB / 482.2 MB, free: 5.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.1195, allocations: 137.9 kB / 482.3 MB, free: 5.133 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.1195, allocations: 12 kB / 482.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1196, allocations: 330.8 kB / 482.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.1199, allocations: 176.8 kB / 482.8 MB, free: 4.617 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.1202, allocations: 223.3 kB / 483 MB, free: 4.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.1208, allocations: 415 kB / 483.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1208, allocations: 0 / 483.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001526/0.1223, allocations: 0.6993 MB / 484.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1224, allocations: 4 kB / 484.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1224, allocations: 0 / 484.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.1236, allocations: 312.5 kB / 484.5 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.1239, allocations: 59.97 kB / 484.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/0.1276, allocations: 2.738 MB / 487.2 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2324/0.36, allocations: 28.11 kB / 487.3 MB, free: 26.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/0.3601, allocations: 14.36 kB / 487.3 MB, free: 26.5 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: 2 ($whenCondition1,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.3604, allocations: 147.6 kB / 487.4 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.3604, allocations: 25.25 kB / 487.5 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.3624, allocations: 0.7298 MB / 488.2 MB, free: 26.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3625, allocations: 7.188 kB / 488.2 MB, free: 26.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3625, allocations: 0.7031 kB / 488.2 MB, free: 26.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3625, allocations: 1.828 kB / 488.2 MB, free: 26.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.3647, allocations: 1.253 MB / 489.4 MB, free: 26.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3647, allocations: 0 / 489.4 MB, free: 26.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.365, allocations: 53.56 kB / 489.5 MB, free: 26.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.3662, allocations: 306.4 kB / 489.8 MB, free: 26.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.3662, allocations: 13.12 kB / 489.8 MB, free: 26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003431/0.3696, allocations: 2.694 MB / 492.5 MB, free: 24.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3697, allocations: 0 / 492.5 MB, free: 24.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.3712, allocations: 0.7741 MB / 493.3 MB, free: 23.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.3713, allocations: 107.5 kB / 493.4 MB, free: 23.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3713, allocations: 10.48 kB / 493.4 MB, free: 23.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.3715, allocations: 18.48 kB / 493.4 MB, free: 23.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.3717, allocations: 48.92 kB / 493.5 MB, free: 23.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.3717, allocations: 16.05 kB / 493.5 MB, free: 23.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3718, allocations: 139.6 kB / 493.6 MB, free: 23.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3719, allocations: 3.062 kB / 493.6 MB, free: 23.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005214/0.3724, allocations: 128 kB / 493.7 MB, free: 23.36 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: 2 ($whenCondition1,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/0.3726, allocations: 124.8 kB / 493.9 MB, free: 23.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.374, allocations: 0.6961 MB / 494.6 MB, free: 22.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.374, allocations: 0.7656 kB / 494.6 MB, free: 22.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008147/0.3748, allocations: 0.4932 MB / 495.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3752, allocations: 31.62 kB / 495.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3764, allocations: 0.7368 MB / 495.8 MB, free: 22.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3767, allocations: 0.7723 MB / 496.6 MB, free: 21.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.3769, allocations: 46.09 kB / 496.6 MB, free: 21.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.3769, allocations: 30.72 kB / 496.7 MB, free: 21.46 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3769, allocations: 3.5 kB / 496.7 MB, free: 21.46 MB / 314.7 MB Notification: Performance of Templates: time 0.01242/0.3894, allocations: 6.471 MB / 0.4914 GB, free: 20.05 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe 2>&1)