Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 179.9 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.402/1.402, allocations: 225.7 MB / 242.6 MB, free: 10.18 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.0009414/0.0009416, allocations: 97.55 kB / 293.8 MB, free: 9.707 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.05538/0.05538, allocations: 8.11 MB / 353 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004529, allocations: 10.12 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 52.53 MB / 468.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002957/0.1149, allocations: 2.012 MB / 470.7 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00498/0.1199, allocations: 3.449 MB / 474.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.1203, allocations: 8 kB / 474.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007508/0.1211, allocations: 143.4 kB / 474.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.1224, allocations: 343.9 kB / 474.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004101/0.1265, allocations: 2.706 MB / 477.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008381/0.1273, allocations: 386.3 kB / 477.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.1277, allocations: 111.9 kB / 477.9 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.128, allocations: 143.4 kB / 478 MB, free: 9.629 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.1285, allocations: 187.1 kB / 478.2 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.1286, allocations: 16 kB / 478.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1297, allocations: 319.7 kB / 478.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.1298, allocations: 67.69 kB / 478.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.1302, allocations: 196.7 kB / 478.8 MB, free: 8.852 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.1316, allocations: 0.6037 MB / 479.4 MB, free: 8.246 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1316, allocations: 4 kB / 479.4 MB, free: 8.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1317, allocations: 0 / 479.4 MB, free: 8.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.1317, allocations: 0 / 479.4 MB, free: 8.242 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.006214/0.1379, allocations: 1.17 MB / 480.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.138, allocations: 12.02 kB / 480.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.1382, allocations: 44.47 kB / 480.6 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.1389, allocations: 323.5 kB / 480.9 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/0.139, allocations: 54.83 kB / 481 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1392, allocations: 40.11 kB / 481 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.1404, allocations: 440.4 kB / 481.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1404, allocations: 0 / 481.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.1405, allocations: 19.94 kB / 481.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1405, allocations: 4 kB / 481.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1415, allocations: 378.1 kB / 481.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003862/0.1454, allocations: 1.777 MB / 483.6 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.147, allocations: 487 kB / 484.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.1477, allocations: 252.8 kB / 484.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1478, allocations: 15.98 kB / 484.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009132/0.1487, allocations: 330.8 kB / 484.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.766e-06/0.1487, allocations: 0 / 484.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.006427/0.1552, allocations: 1.346 MB / 486 MB, free: 1.262 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.1553, allocations: 118.7 kB / 486.1 MB, free: 1.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.1558, allocations: 278.9 kB / 486.4 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.39e-05/0.1559, allocations: 33.7 kB / 486.4 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1561, allocations: 164.9 kB / 486.6 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.1563, allocations: 145.8 kB / 486.8 MB, free: 500 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.1564, allocations: 16 kB / 486.8 MB, free: 484 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1566, allocations: 342.8 kB / 487.1 MB, free: 132 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2352/0.3918, allocations: 250.2 kB / 487.3 MB, free: 26.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.3925, allocations: 305.5 kB / 487.6 MB, free: 26.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.3936, allocations: 0.5579 MB / 488.2 MB, free: 26.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3937, allocations: 0 / 488.2 MB, free: 26.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002204/0.3959, allocations: 0.9062 MB / 489.1 MB, free: 26.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.3959, allocations: 5.719 kB / 489.1 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3959, allocations: 0.7812 kB / 489.1 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/0.399, allocations: 0.6106 MB / 489.7 MB, free: 26.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.3993, allocations: 74.89 kB / 489.8 MB, free: 26.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.4009, allocations: 1.073 MB / 490.9 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.4013, allocations: 45.66 kB / 490.9 MB, free: 25.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.4014, allocations: 21.7 kB / 490.9 MB, free: 25.5 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: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.4016, allocations: 157.6 kB / 491.1 MB, free: 25.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.4017, allocations: 36.78 kB / 491.1 MB, free: 25.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.4032, allocations: 0.7748 MB / 491.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4032, allocations: 9.062 kB / 491.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4032, allocations: 0.6562 kB / 491.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4032, allocations: 2.062 kB / 491.9 MB, free: 24.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.4039, allocations: 0.5555 MB / 492.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4039, allocations: 0 / 492.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.4042, allocations: 54.48 kB / 492.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/0.4069, allocations: 0.5962 MB / 493.1 MB, free: 24.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.4069, allocations: 17.23 kB / 493.1 MB, free: 24.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.4084, allocations: 1.073 MB / 494.2 MB, free: 23.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4084, allocations: 2.25 kB / 494.2 MB, free: 23.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.4095, allocations: 0.7374 MB / 494.9 MB, free: 23.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.4096, allocations: 125 kB / 495.1 MB, free: 23.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.4097, allocations: 7.281 kB / 495.1 MB, free: 23.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.41, allocations: 31.19 kB / 495.1 MB, free: 23.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4101, allocations: 33.39 kB / 495.1 MB, free: 23.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.4102, allocations: 15.48 kB / 495.2 MB, free: 23.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.4104, allocations: 201.4 kB / 495.4 MB, free: 23.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4104, allocations: 1.781 kB / 495.4 MB, free: 23.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004965/0.4109, allocations: 136 kB / 495.5 MB, free: 23.01 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,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.412, allocations: 485.2 kB / 496 MB, free: 22.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.4139, allocations: 0.7018 MB / 496.7 MB, free: 22.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4139, allocations: 1.469 kB / 496.7 MB, free: 22.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.4151, allocations: 401.3 kB / 497.1 MB, free: 22.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.4155, allocations: 55.61 kB / 497.1 MB, free: 22.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4172, allocations: 0.9118 MB / 498 MB, free: 21.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.4176, allocations: 0.7907 MB / 498.8 MB, free: 21.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.4178, allocations: 58.62 kB / 498.9 MB, free: 21.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4179, allocations: 42.36 kB / 498.9 MB, free: 21.01 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4179, allocations: 1.188 kB / 498.9 MB, free: 21.01 MB / 314.7 MB Notification: Performance of Templates: time 0.01553/0.4335, allocations: 7.443 MB / 0.4945 GB, free: 18.75 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1)