Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002445/0.002445, allocations: 174.5 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.458/1.458, allocations: 225.7 MB / 242.6 MB, free: 8.48 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.0008646/0.0008646, allocations: 89.64 kB / 293.8 MB, free: 9.512 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.04942/0.04942, allocations: 8.092 MB / 353 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 8.5 kB / 416.2 MB, free: 56.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1039, allocations: 52.52 MB / 468.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002584/0.1066, allocations: 2.737 MB / 471.5 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1088, allocations: 2.062 MB / 473.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.109, allocations: 8 kB / 473.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.1094, allocations: 139.4 kB / 473.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.11, allocations: 312 kB / 474 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.1127, allocations: 2.706 MB / 476.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.1133, allocations: 477.9 kB / 477.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.1135, allocations: 115.7 kB / 477.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1137, allocations: 175.3 kB / 477.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.114, allocations: 230.9 kB / 477.7 MB, free: 9.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.1141, allocations: 20 kB / 477.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005152/0.1146, allocations: 283.8 kB / 478 MB, free: 9.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.1147, allocations: 67.62 kB / 478 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.1149, allocations: 244.5 kB / 478.3 MB, free: 9.367 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007107/0.1157, allocations: 0.6425 MB / 478.9 MB, free: 8.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1157, allocations: 0 / 478.9 MB, free: 8.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1157, allocations: 3.984 kB / 478.9 MB, free: 8.719 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1157, allocations: 0 / 478.9 MB, free: 8.719 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004192/0.1199, allocations: 1.245 MB / 480.2 MB, free: 7.418 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1199, allocations: 8.031 kB / 480.2 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1201, allocations: 48.38 kB / 480.2 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.1206, allocations: 355.3 kB / 480.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.1207, allocations: 50.83 kB / 480.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.1207, allocations: 36.38 kB / 480.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/0.1217, allocations: 0.4928 MB / 481.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1217, allocations: 0 / 481.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.1218, allocations: 12 kB / 481.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1218, allocations: 11.94 kB / 481.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000909/0.1227, allocations: 478 kB / 481.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.1256, allocations: 2 MB / 483.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1268, allocations: 0.5546 MB / 484.2 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.1274, allocations: 349.5 kB / 484.5 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.1275, allocations: 89.41 kB / 484.6 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009008/0.1285, allocations: 0.536 MB / 485.1 MB, free: 2.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 1.904e-06/0.1285, allocations: 7.875 kB / 485.2 MB, free: 2.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.005799/0.1343, allocations: 1.9 MB / 487.1 MB, free: 192 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2152/0.3495, allocations: 196.5 kB / 487.2 MB, free: 27.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.3502, allocations: 318 kB / 487.6 MB, free: 27.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.3505, allocations: 40.34 kB / 487.6 MB, free: 27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.3506, allocations: 174.4 kB / 487.8 MB, free: 26.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.3508, allocations: 154.6 kB / 487.9 MB, free: 26.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.3509, allocations: 11.41 kB / 487.9 MB, free: 26.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.351, allocations: 352.8 kB / 488.3 MB, free: 26.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.3517, allocations: 291.4 kB / 488.6 MB, free: 26.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/0.3525, allocations: 358.7 kB / 488.9 MB, free: 26.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0087/0.3612, allocations: 2.202 MB / 491.1 MB, free: 25.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3612, allocations: 0 / 491.1 MB, free: 25.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003582/0.3648, allocations: 1.341 MB / 492.5 MB, free: 25.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.3649, allocations: 39.89 kB / 492.5 MB, free: 25.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3649, allocations: 1.344 kB / 492.5 MB, free: 25.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/0.3687, allocations: 0.8665 MB / 493.4 MB, free: 25.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.369, allocations: 76.23 kB / 493.4 MB, free: 25.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.3708, allocations: 1.277 MB / 494.7 MB, free: 24.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/0.3714, allocations: 95.69 kB / 494.8 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.3715, allocations: 23.86 kB / 494.8 MB, free: 24.25 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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,$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 {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003955/0.3719, allocations: 225.9 kB / 495 MB, free: 24.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.372, allocations: 41.81 kB / 495.1 MB, free: 24.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.3742, allocations: 1.242 MB / 496.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3743, allocations: 8.703 kB / 496.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3743, allocations: 0 / 496.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3743, allocations: 0 / 496.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/0.375, allocations: 0.6289 MB / 497 MB, free: 23.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.375, allocations: 4.688 kB / 497 MB, free: 23.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.3752, allocations: 48.03 kB / 497 MB, free: 23.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00394/0.3792, allocations: 0.9185 MB / 497.9 MB, free: 22.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.3792, allocations: 19.97 kB / 498 MB, free: 22.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.3813, allocations: 1.402 MB / 499.4 MB, free: 21.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3813, allocations: 1.5 kB / 499.4 MB, free: 21.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.3833, allocations: 1.195 MB / 0.4888 GB, free: 21.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.3836, allocations: 208.8 kB / 0.489 GB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.3837, allocations: 27.03 kB / 0.489 GB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.3842, allocations: 76.53 kB / 0.4891 GB, free: 21.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.3843, allocations: 46.59 kB / 0.4892 GB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.3844, allocations: 24.22 kB / 0.4892 GB, free: 21.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002496/0.3847, allocations: 224.2 kB / 0.4894 GB, free: 20.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-07/0.3847, allocations: 0 / 0.4894 GB, free: 20.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004723/0.3852, allocations: 150.5 kB / 0.4895 GB, free: 20.87 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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002573/0.3854, allocations: 152 kB / 0.4897 GB, free: 20.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.3874, allocations: 0.9304 MB / 0.4906 GB, free: 20.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3874, allocations: 0 / 0.4906 GB, free: 20.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.3888, allocations: 0.6744 MB / 0.4913 GB, free: 19.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3892, allocations: 50.03 kB / 0.4913 GB, free: 19.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.3909, allocations: 0.9967 MB / 0.4923 GB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3913, allocations: 0.8027 MB / 0.4931 GB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.3915, allocations: 48.22 kB / 0.4931 GB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.3916, allocations: 33.31 kB / 0.4931 GB, free: 18.62 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3916, allocations: 0 / 0.4931 GB, free: 18.62 MB / 314.7 MB Notification: Performance of Templates: time 0.01485/0.4064, allocations: 9.383 MB / 0.5023 GB, free: 12.8 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)