Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 179.1 kB / 16.12 MB, free: 5.566 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.359/1.359, allocations: 225.7 MB / 242.6 MB, free: 8.453 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.0008341/0.0008342, allocations: 93.98 kB / 293.8 MB, free: 9.473 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.05201/0.05201, allocations: 8.1 MB / 353 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004037, allocations: 12 kB / 416.2 MB, free: 56.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 52.52 MB / 468.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001579/0.1045, allocations: 1.329 MB / 470.1 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1056, allocations: 0.8695 MB / 470.9 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.1057, allocations: 0 / 470.9 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1059, allocations: 115.8 kB / 471 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.1061, allocations: 135.7 kB / 471.2 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.1064, allocations: 87.77 kB / 471.3 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1066, allocations: 199.5 kB / 471.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1067, allocations: 20.98 kB / 471.5 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1068, allocations: 99.7 kB / 471.6 MB, free: 0.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.107, allocations: 191.5 kB / 471.8 MB, free: 448 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.107, allocations: 8 kB / 471.8 MB, free: 440 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1072, allocations: 71.94 kB / 471.8 MB, free: 368 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1073, allocations: 107.6 kB / 471.9 MB, free: 260 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1074, allocations: 156.8 kB / 472.1 MB, free: 96 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.1078, allocations: 311.2 kB / 472.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.1078, allocations: 3.984 kB / 472.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1078, allocations: 0 / 472.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1078, allocations: 0 / 472.4 MB, free: 15.78 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009108/0.1087, allocations: 0.6454 MB / 473 MB, free: 15.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1088, allocations: 8.031 kB / 473.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.1089, allocations: 44.31 kB / 473.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.1093, allocations: 374.1 kB / 473.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1094, allocations: 8.375 kB / 473.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1094, allocations: 8.375 kB / 473.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.1098, allocations: 177.5 kB / 473.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1098, allocations: 0 / 473.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1098, allocations: 4 kB / 473.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1098, allocations: 0 / 473.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.1101, allocations: 111.9 kB / 473.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.1108, allocations: 0.5161 MB / 474.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.1111, allocations: 162.5 kB / 474.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1114, allocations: 152.9 kB / 474.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1114, allocations: 3.984 kB / 474.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.1119, allocations: 363.6 kB / 474.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.1119, allocations: 3.938 kB / 475 MB, free: 13.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009958/0.1129, allocations: 0.5628 MB / 475.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.113, allocations: 221.6 kB / 475.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.1137, allocations: 0.5564 MB / 476.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1137, allocations: 37.7 kB / 476.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1139, allocations: 196.1 kB / 476.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.1139, allocations: 43.58 kB / 476.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.1139, allocations: 4 kB / 476.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1141, allocations: 362.7 kB / 476.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1142, allocations: 95.95 kB / 477 MB, free: 10.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1144, allocations: 118.2 kB / 477.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/0.115, allocations: 0.6099 MB / 477.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.115, allocations: 0 / 477.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004512/0.1155, allocations: 426.7 kB / 478.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.1156, allocations: 71.39 kB / 478.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1156, allocations: 0 / 478.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1156, allocations: 48 / 478.2 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.1157, allocations: 19.91 kB / 478.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1157, allocations: 0 / 478.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.116, allocations: 59.83 kB / 478.3 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.116, allocations: 16 kB / 478.3 MB, free: 9.469 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.0003238/0.1163, allocations: 283.9 kB / 478.6 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.1164, allocations: 47.53 kB / 478.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.1165, allocations: 43.92 kB / 478.7 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1165, allocations: 7.984 kB / 478.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1165, allocations: 0 / 478.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1165, allocations: 0 / 478.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.1168, allocations: 353.2 kB / 479 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1168, allocations: 0 / 479 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.1169, allocations: 0 / 479 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1169, allocations: 4 kB / 479 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1169, allocations: 12 kB / 479 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1169, allocations: 3.984 kB / 479.1 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1169, allocations: 3.938 kB / 479.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.1177, allocations: 0.5309 MB / 479.6 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.1179, allocations: 152.5 kB / 479.7 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.118, allocations: 12 kB / 479.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.1183, allocations: 59.94 kB / 479.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.1184, allocations: 19.97 kB / 479.8 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.1185, allocations: 12 kB / 479.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005051/0.119, allocations: 411 kB / 480.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.119, allocations: 0 / 480.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.1193, allocations: 76.12 kB / 480.3 MB, free: 7.352 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.000244/0.1196, allocations: 156 kB / 480.5 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000708/0.1203, allocations: 478.6 kB / 480.9 MB, free: 6.699 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1203, allocations: 0 / 480.9 MB, free: 6.699 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.1209, allocations: 450.7 kB / 481.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1213, allocations: 41.84 kB / 481.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1227, allocations: 0.8063 MB / 482.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.1232, allocations: 0.8076 MB / 483 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.1234, allocations: 45.91 kB / 483.1 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.1234, allocations: 19.44 kB / 483.1 MB, free: 4.457 MB / 314.7 MB Notification: Performance of SimCode: time 4.3e-07/0.1234, allocations: 0 / 483.1 MB, free: 4.457 MB / 314.7 MB Notification: Performance of Templates: time 0.00892/0.1324, allocations: 3.669 MB / 486.8 MB, free: 0.8047 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)