Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 178.9 kB / 16.13 MB, free: 5.191 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.323/1.323, allocations: 225.7 MB / 242.6 MB, free: 208 kB / 186.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.0009562/0.0009562, allocations: 90.55 kB / 293.8 MB, free: 12.85 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.04122/0.04122, allocations: 8.116 MB / 353 MB, free: 1.512 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003249, allocations: 13.94 kB / 416.2 MB, free: 89.18 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09048, allocations: 52.53 MB / 468.7 MB, free: 40.69 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001298/0.09183, allocations: 1.095 MB / 469.8 MB, free: 39.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.09327, allocations: 2.224 MB / 472 MB, free: 37.15 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.09334, allocations: 0 / 472 MB, free: 37.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.09361, allocations: 95.66 kB / 472.1 MB, free: 37.06 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.09394, allocations: 232.4 kB / 472.4 MB, free: 36.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.09521, allocations: 1.963 MB / 474.3 MB, free: 34.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.09541, allocations: 187.1 kB / 474.5 MB, free: 34.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.09554, allocations: 45.64 kB / 474.6 MB, free: 34.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.09561, allocations: 71.7 kB / 474.6 MB, free: 34.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.09574, allocations: 91.61 kB / 474.7 MB, free: 34.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.09577, allocations: 8 kB / 474.7 MB, free: 34.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.09605, allocations: 211.8 kB / 474.9 MB, free: 33.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.09609, allocations: 43.77 kB / 475 MB, free: 33.92 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.09617, allocations: 109.2 kB / 475.1 MB, free: 33.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.09649, allocations: 351.2 kB / 475.4 MB, free: 33.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.09651, allocations: 0 / 475.4 MB, free: 33.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09651, allocations: 4 kB / 475.4 MB, free: 33.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09652, allocations: 0 / 475.4 MB, free: 33.46 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001651/0.09818, allocations: 0.6743 MB / 476.1 MB, free: 32.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.09822, allocations: 8.031 kB / 476.1 MB, free: 32.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.09828, allocations: 24.75 kB / 476.1 MB, free: 32.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.09851, allocations: 242.1 kB / 476.4 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.09859, allocations: 63.97 kB / 476.4 MB, free: 32.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.09862, allocations: 20.38 kB / 476.5 MB, free: 32.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.09894, allocations: 218.5 kB / 476.7 MB, free: 32.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.09896, allocations: 7.922 kB / 476.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.09899, allocations: 11.94 kB / 476.7 MB, free: 32.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.099, allocations: 4 kB / 476.7 MB, free: 32.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.09928, allocations: 199.9 kB / 476.9 MB, free: 31.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1004, allocations: 0.9165 MB / 477.8 MB, free: 30.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.1009, allocations: 239.2 kB / 478 MB, free: 30.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1011, allocations: 117.1 kB / 478.1 MB, free: 30.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.661e-05/0.1012, allocations: 97.08 kB / 478.2 MB, free: 30.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.1015, allocations: 162.7 kB / 478.4 MB, free: 30.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.1015, allocations: 0 / 478.4 MB, free: 30.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.001449/0.1029, allocations: 0.6162 MB / 479 MB, free: 29.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.103, allocations: 55.39 kB / 479.1 MB, free: 29.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1031, allocations: 178.3 kB / 479.2 MB, free: 29.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1031, allocations: 29.7 kB / 479.3 MB, free: 29.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.1032, allocations: 128.2 kB / 479.4 MB, free: 29.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.1032, allocations: 70.94 kB / 479.5 MB, free: 29.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.1033, allocations: 8 kB / 479.5 MB, free: 29.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.1033, allocations: 330.8 kB / 479.8 MB, free: 28.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1035, allocations: 112.5 kB / 479.9 MB, free: 28.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1037, allocations: 161.3 kB / 480.1 MB, free: 28.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.104, allocations: 280 kB / 480.3 MB, free: 28.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.104, allocations: 0 / 480.3 MB, free: 28.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008673/0.1049, allocations: 488.9 kB / 480.8 MB, free: 27.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1049, allocations: 7.938 kB / 480.8 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1049, allocations: 0 / 480.8 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008111/0.1057, allocations: 196.7 kB / 481 MB, free: 27.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1059, allocations: 43.91 kB / 481.1 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000487/0.1064, allocations: 0.7241 MB / 481.8 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.1066, allocations: 31.72 kB / 481.8 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.1066, allocations: 8 kB / 481.8 MB, free: 26.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.load.degradedMode,load.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 9.545e-05/0.1067, allocations: 137.8 kB / 482 MB, free: 26.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.1067, allocations: 15.81 kB / 482 MB, free: 26.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006352/0.1074, allocations: 383.9 kB / 482.4 MB, free: 26.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1074, allocations: 7.984 kB / 482.4 MB, free: 26.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1074, allocations: 0 / 482.4 MB, free: 26.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1074, allocations: 0 / 482.4 MB, free: 26.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.1076, allocations: 341.3 kB / 482.7 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1076, allocations: 7.938 kB / 482.7 MB, free: 25.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.1077, allocations: 19.98 kB / 482.7 MB, free: 25.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006705/0.1084, allocations: 204.7 kB / 482.9 MB, free: 25.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.1084, allocations: 4 kB / 482.9 MB, free: 25.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004439/0.1089, allocations: 0.7241 MB / 483.6 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1089, allocations: 0 / 483.6 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.1095, allocations: 384 kB / 484 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.1095, allocations: 92.92 kB / 484.1 MB, free: 24.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1095, allocations: 8 kB / 484.1 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1097, allocations: 19.92 kB / 484.1 MB, free: 24.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1098, allocations: 15.97 kB / 484.2 MB, free: 24.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1098, allocations: 12 kB / 484.2 MB, free: 24.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.685e-05/0.1099, allocations: 137.3 kB / 484.3 MB, free: 24.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1099, allocations: 0 / 484.3 MB, free: 24.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.1101, allocations: 63.88 kB / 484.4 MB, free: 24.03 MB / 330.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,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {(3,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.1103, allocations: 115.2 kB / 484.5 MB, free: 23.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.1109, allocations: 307.8 kB / 484.8 MB, free: 23.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.111, allocations: 0 / 484.8 MB, free: 23.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.1113, allocations: 159.7 kB / 484.9 MB, free: 23.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1116, allocations: 24.28 kB / 485 MB, free: 23.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.1122, allocations: 496.3 kB / 485.4 MB, free: 22.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.1124, allocations: 0.7208 MB / 486.2 MB, free: 22.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.938e-05/0.1125, allocations: 25.52 kB / 486.2 MB, free: 22.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.1125, allocations: 31.42 kB / 486.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1125, allocations: 0 / 486.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of Templates: time 0.00553/0.1181, allocations: 3.455 MB / 489.7 MB, free: 18.68 MB / 330.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & ./PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1)