Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.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.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 177.5 kB / 16.12 MB, free: 5.141 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.415/1.415, allocations: 225.7 MB / 242.6 MB, free: 8.465 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.0008371/0.0008371, allocations: 100.7 kB / 293.8 MB, free: 9.492 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.04875/0.04875, allocations: 8.103 MB / 353 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003369, allocations: 8 kB / 416.2 MB, free: 56.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09838, allocations: 52.51 MB / 468.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.00188/0.1003, allocations: 1.329 MB / 470 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1016, allocations: 0.8656 MB / 470.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.1017, allocations: 0 / 470.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1018, allocations: 19.92 kB / 470.9 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.102, allocations: 35.81 kB / 471 MB, free: 1.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1024, allocations: 91.84 kB / 471.1 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1026, allocations: 151.6 kB / 471.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1027, allocations: 24.91 kB / 471.2 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1028, allocations: 63.75 kB / 471.3 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.103, allocations: 83.7 kB / 471.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.103, allocations: 11.94 kB / 471.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1032, allocations: 67.94 kB / 471.5 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.1033, allocations: 27.91 kB / 471.5 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.604e-05/0.1034, allocations: 97.34 kB / 471.6 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1037, allocations: 175.7 kB / 471.7 MB, free: 472 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1037, allocations: 0 / 471.7 MB, free: 472 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1037, allocations: 0 / 471.7 MB, free: 472 kB / 298.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1037, allocations: 0 / 471.7 MB, free: 472 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.0007124/0.1044, allocations: 478.3 kB / 472.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.1045, allocations: 12.03 kB / 472.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.1045, allocations: 16.75 kB / 472.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.1049, allocations: 236 kB / 472.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.105, allocations: 8.312 kB / 472.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.105, allocations: 8.375 kB / 472.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.1054, allocations: 133.5 kB / 472.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1054, allocations: 0 / 472.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1054, allocations: 0 / 472.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1054, allocations: 4 kB / 472.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.1056, allocations: 79.83 kB / 472.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.1063, allocations: 408.6 kB / 473.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1065, allocations: 114.5 kB / 473.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.1067, allocations: 112.9 kB / 473.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.1067, allocations: 0 / 473.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.1072, allocations: 327.6 kB / 473.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.1072, allocations: 0 / 473.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007844/0.108, allocations: 384.7 kB / 474 MB, free: 13.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.1081, allocations: 221.6 kB / 474.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1083, allocations: 197.6 kB / 474.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1084, allocations: 33.7 kB / 474.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.1085, allocations: 100.1 kB / 474.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.1085, allocations: 47.58 kB / 474.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-06/0.1085, allocations: 0 / 474.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1087, allocations: 330.8 kB / 474.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.1088, allocations: 51.97 kB / 475 MB, free: 12.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1089, allocations: 80.06 kB / 475.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.1094, allocations: 459.3 kB / 475.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1094, allocations: 0 / 475.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003303/0.1098, allocations: 275.5 kB / 475.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.412e-05/0.1098, allocations: 71.39 kB / 475.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1099, allocations: 0 / 475.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1099, allocations: 0 / 475.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.1099, allocations: 15.94 kB / 475.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.11, allocations: 3.984 kB / 475.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.1102, allocations: 51.95 kB / 475.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.1102, allocations: 8 kB / 475.9 MB, free: 11.9 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "Current tap position" type: Integer tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.tap,$PRE.tapChanger.abnormalUTime,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002352/0.1105, allocations: 224.1 kB / 476.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.1105, allocations: 23.8 kB / 476.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.1106, allocations: 9.875 kB / 476.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1106, allocations: 4 kB / 476.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1106, allocations: 0 / 476.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1106, allocations: 0 / 476.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1108, allocations: 277.2 kB / 476.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1108, allocations: 0 / 476.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.1108, allocations: 0 / 476.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1109, allocations: 8 kB / 476.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.1109, allocations: 7.984 kB / 476.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1109, allocations: 0 / 476.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1109, allocations: 0 / 476.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.1115, allocations: 399.8 kB / 476.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1117, allocations: 120.9 kB / 477 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.1117, allocations: 12 kB / 477 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.112, allocations: 63.94 kB / 477 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.1121, allocations: 19.98 kB / 477.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.1121, allocations: 15.98 kB / 477.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1122, allocations: 139.2 kB / 477.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1122, allocations: 4 kB / 477.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.1125, allocations: 60 kB / 477.3 MB, free: 10.42 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0002198/0.1127, allocations: 160.1 kB / 477.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.1133, allocations: 390.6 kB / 477.8 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1133, allocations: 0 / 477.8 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.1137, allocations: 402.8 kB / 478.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.1139, allocations: 27.97 kB / 478.2 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.1145, allocations: 358 kB / 478.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1148, allocations: 0.724 MB / 479.3 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.883e-05/0.1149, allocations: 12.31 kB / 479.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.1149, allocations: 15.42 kB / 479.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1149, allocations: 0 / 479.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of Templates: time 0.005535/0.1205, allocations: 2.741 MB / 482.1 MB, free: 5.52 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)