Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009457/0.0009458, allocations: 181 kB / 16.13 MB, free: 5.145 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.347/1.347, allocations: 225.7 MB / 242.6 MB, free: 8.457 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.001074/0.001074, allocations: 93.44 kB / 293.8 MB, free: 9.5 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.05328/0.05328, allocations: 8.106 MB / 353 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 8 kB / 416.2 MB, free: 56.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09353, allocations: 52.51 MB / 468.7 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.001584/0.09517, allocations: 1.434 MB / 470.2 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.09725, allocations: 2.648 MB / 472.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.09735, allocations: 8 kB / 472.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.0977, allocations: 119.5 kB / 472.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.09807, allocations: 119.3 kB / 473.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.1001, allocations: 2.014 MB / 475.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.1005, allocations: 318.7 kB / 475.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1006, allocations: 68.7 kB / 475.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1008, allocations: 119.5 kB / 475.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.101, allocations: 143.3 kB / 475.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.101, allocations: 16 kB / 475.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.1014, allocations: 219.8 kB / 475.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.1015, allocations: 43.77 kB / 476 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1016, allocations: 161 kB / 476.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.1022, allocations: 474.8 kB / 476.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1022, allocations: 0 / 476.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1022, allocations: 4 kB / 476.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1022, allocations: 3.938 kB / 476.6 MB, free: 11.12 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003341/0.1056, allocations: 1.011 MB / 477.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1056, allocations: 8.031 kB / 477.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.1057, allocations: 36.56 kB / 477.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.1061, allocations: 286.8 kB / 477.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.1061, allocations: 16.36 kB / 478 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/0.1062, allocations: 24.56 kB / 478 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.1069, allocations: 343.2 kB / 478.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1069, allocations: 0 / 478.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.1069, allocations: 8 kB / 478.3 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1069, allocations: 4 kB / 478.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.1074, allocations: 259.9 kB / 478.6 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1088, allocations: 0.9517 MB / 479.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.1097, allocations: 447.3 kB / 480 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.1101, allocations: 205.5 kB / 480.2 MB, free: 7.348 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/0.111, allocations: 0.8151 MB / 481 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006075/0.1116, allocations: 392 kB / 481.4 MB, free: 6.047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.1116, allocations: 3.938 kB / 481.4 MB, free: 6.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002794/0.1144, allocations: 1.03 MB / 482.4 MB, free: 4.961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.1146, allocations: 221.6 kB / 482.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.1148, allocations: 254.5 kB / 482.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1149, allocations: 37.7 kB / 482.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.115, allocations: 148.6 kB / 483 MB, free: 4.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.1151, allocations: 98.58 kB / 483.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.1151, allocations: 12 kB / 483.2 MB, free: 4.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1153, allocations: 342.8 kB / 483.5 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.1155, allocations: 128.4 kB / 483.6 MB, free: 3.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.1158, allocations: 238.7 kB / 483.8 MB, free: 3.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/0.119, allocations: 1.029 MB / 484.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.119, allocations: 0 / 484.9 MB, free: 2.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001078/0.1201, allocations: 0.5898 MB / 485.5 MB, free: 1.691 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.1202, allocations: 37.69 kB / 485.5 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1202, allocations: 4 kB / 485.5 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.1217, allocations: 375.4 kB / 485.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.122, allocations: 63.89 kB / 485.9 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.211/0.333, allocations: 2.145 MB / 488.1 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/0.3337, allocations: 84.47 kB / 488.2 MB, free: 25.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.3338, allocations: 19.2 kB / 488.2 MB, free: 25.34 MB / 314.7 MB Warning: Assuming fixed start value for the following 4 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) type: Real varTra.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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004933/0.3343, allocations: 221.2 kB / 488.4 MB, free: 25.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.3344, allocations: 38.69 kB / 488.4 MB, free: 25.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.3366, allocations: 0.8327 MB / 489.3 MB, free: 25.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3367, allocations: 3.375 kB / 489.3 MB, free: 25.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3367, allocations: 7.094 kB / 489.3 MB, free: 25.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3367, allocations: 1.688 kB / 489.3 MB, free: 25.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.3373, allocations: 432.5 kB / 489.7 MB, free: 24.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3373, allocations: 0 / 489.7 MB, free: 24.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.3375, allocations: 30.38 kB / 489.7 MB, free: 24.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.3393, allocations: 418.6 kB / 490.1 MB, free: 24.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.3394, allocations: 20.25 kB / 490.2 MB, free: 24.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.3416, allocations: 2.262 MB / 492.4 MB, free: 22.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3416, allocations: 5 kB / 492.4 MB, free: 22.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.344, allocations: 1.05 MB / 493.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.3442, allocations: 155.9 kB / 493.6 MB, free: 22.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.3443, allocations: 19.08 kB / 493.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.3447, allocations: 62.56 kB / 493.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.3449, allocations: 35.98 kB / 493.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.345, allocations: 17.09 kB / 493.8 MB, free: 22.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002835/0.3453, allocations: 186 kB / 493.9 MB, free: 22 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3453, allocations: 0 / 493.9 MB, free: 22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007088/0.346, allocations: 104.8 kB / 494 MB, free: 21.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003717/0.3464, allocations: 155.8 kB / 494.2 MB, free: 21.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.3477, allocations: 0.6349 MB / 494.8 MB, free: 21.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3478, allocations: 0 / 494.8 MB, free: 21.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008673/0.3486, allocations: 0.5585 MB / 495.4 MB, free: 21.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.3489, allocations: 37.17 kB / 495.4 MB, free: 21.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.35, allocations: 0.7361 MB / 496.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3503, allocations: 0.7575 MB / 496.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000137/0.3504, allocations: 31.98 kB / 497 MB, free: 19.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.3505, allocations: 27.97 kB / 497 MB, free: 19.95 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3505, allocations: 0 / 497 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Templates: time 0.01112/0.3616, allocations: 5.649 MB / 0.4909 GB, free: 18.91 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1)