Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 173.4 kB / 16.12 MB, free: 5.691 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.4/1.4, 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.0008403/0.0008406, allocations: 92.58 kB / 293.8 MB, free: 9.711 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.04457/0.04457, allocations: 8.1 MB / 353 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 8 kB / 416.2 MB, free: 56.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.09949, allocations: 52.51 MB / 468.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.002116/0.1017, allocations: 2.246 MB / 471 MB, free: 1.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1041, allocations: 2.47 MB / 473.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1043, allocations: 4 kB / 473.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.1048, allocations: 251.3 kB / 473.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.1053, allocations: 231.1 kB / 473.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.1076, allocations: 2.076 MB / 476 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.1081, allocations: 422.4 kB / 476.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.1083, allocations: 56.7 kB / 476.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.1085, allocations: 179.4 kB / 476.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.1089, allocations: 283.1 kB / 476.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.1089, allocations: 16 kB / 476.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.1095, allocations: 287.7 kB / 477.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.1097, allocations: 143.4 kB / 477.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.1099, allocations: 256.2 kB / 477.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.1107, allocations: 0.6738 MB / 478.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1107, allocations: 0 / 478.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1108, allocations: 0 / 478.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1108, allocations: 0 / 478.3 MB, free: 9.43 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003634/0.1144, allocations: 1.277 MB / 479.6 MB, free: 8.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1145, allocations: 8.031 kB / 479.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1146, allocations: 68.19 kB / 479.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.1152, allocations: 475.7 kB / 480.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.1153, allocations: 20.38 kB / 480.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.1153, allocations: 20.38 kB / 480.1 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.1161, allocations: 410.2 kB / 480.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1161, allocations: 0 / 480.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.1161, allocations: 8 kB / 480.5 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1162, allocations: 4 kB / 480.5 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.1168, allocations: 347.9 kB / 480.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.1185, allocations: 1.113 MB / 482 MB, free: 5.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/0.1195, allocations: 0.5233 MB / 482.5 MB, free: 4.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.1199, allocations: 269 kB / 482.8 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.121, allocations: 0.8665 MB / 483.6 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006399/0.1216, allocations: 484.6 kB / 484.1 MB, free: 3.254 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.1216, allocations: 0 / 484.1 MB, free: 3.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.003331/0.125, allocations: 1.409 MB / 485.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.1251, allocations: 251.5 kB / 485.8 MB, free: 1.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.1259, allocations: 0.6786 MB / 486.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.1259, allocations: 33.7 kB / 486.5 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.1261, allocations: 260.6 kB / 486.7 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1262, allocations: 118.4 kB / 486.9 MB, free: 388 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.1263, allocations: 8 kB / 486.9 MB, free: 380 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.1908/0.317, allocations: 371.5 kB / 487.2 MB, free: 26.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.3176, allocations: 197.1 kB / 487.4 MB, free: 26.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.318, allocations: 305.3 kB / 487.7 MB, free: 26.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/0.3219, allocations: 1.406 MB / 489.1 MB, free: 26.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3219, allocations: 4.688 kB / 489.1 MB, free: 26.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001934/0.3238, allocations: 0.9231 MB / 490.1 MB, free: 26.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.3239, allocations: 75.09 kB / 490.1 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3239, allocations: 2.062 kB / 490.1 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.3254, allocations: 365 kB / 490.5 MB, free: 26.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.3256, allocations: 63.81 kB / 490.5 MB, free: 26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.3273, allocations: 2.15 MB / 492.7 MB, free: 24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.3278, allocations: 97.94 kB / 492.8 MB, free: 23.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.3278, allocations: 19.7 kB / 492.8 MB, free: 23.98 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 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 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0004413/0.3283, allocations: 329.6 kB / 493.1 MB, free: 23.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.3284, allocations: 71.81 kB / 493.2 MB, free: 23.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.3307, allocations: 1.17 MB / 494.4 MB, free: 23.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3307, allocations: 2.75 kB / 494.4 MB, free: 23.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3307, allocations: 2.625 kB / 494.4 MB, free: 23.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3307, allocations: 1.969 kB / 494.4 MB, free: 23.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.3314, allocations: 0.5516 MB / 494.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3314, allocations: 3.938 kB / 494.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.3315, allocations: 30.09 kB / 495 MB, free: 22.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.3331, allocations: 408.4 kB / 495.4 MB, free: 22.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.3331, allocations: 15.06 kB / 495.4 MB, free: 22.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.335, allocations: 2.279 MB / 497.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.335, allocations: 0 / 497.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.3373, allocations: 1.168 MB / 498.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.3376, allocations: 200.5 kB / 499 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/0.3377, allocations: 30.64 kB / 499.1 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.3381, allocations: 66.42 kB / 499.1 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3382, allocations: 34.66 kB / 499.1 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.3383, allocations: 19.16 kB / 499.2 MB, free: 20.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006086/0.3389, allocations: 495.2 kB / 499.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3389, allocations: 0 / 499.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005639/0.3395, allocations: 138.4 kB / 499.8 MB, free: 19.82 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,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0002835/0.3397, allocations: 187.5 kB / 500 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.3412, allocations: 0.8743 MB / 0.4891 GB, free: 19.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3412, allocations: 1.344 kB / 0.4891 GB, free: 19.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.3422, allocations: 0.711 MB / 0.4898 GB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3426, allocations: 53.86 kB / 0.4899 GB, free: 18.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.3441, allocations: 1.25 MB / 0.4911 GB, free: 18.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3445, allocations: 0.8717 MB / 0.4919 GB, free: 17.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.3447, allocations: 59 kB / 0.492 GB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.3448, allocations: 34.44 kB / 0.492 GB, free: 17.35 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.3448, allocations: 0 / 0.492 GB, free: 17.35 MB / 314.7 MB Notification: Performance of Templates: time 0.01327/0.3581, allocations: 7.511 MB / 0.4993 GB, free: 14.67 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)