Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.3 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 103.8 kB / 290.6 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04685/0.04685, allocations: 8.089 MB / 348.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.001061, allocations: 52.02 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1027, allocations: 51.52 MB / 462.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003685/0.1065, allocations: 3.218 MB / 465.8 MB, free: 2.816 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1081, allocations: 1.141 MB / 467 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1083, allocations: 4 kB / 467 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.1087, allocations: 143.4 kB / 467.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.1092, allocations: 242.8 kB / 467.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1108, allocations: 1.229 MB / 468.6 MB, free: 60 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.1114, allocations: 493.9 kB / 469.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.1115, allocations: 107.7 kB / 469.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1117, allocations: 191.2 kB / 469.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.112, allocations: 239 kB / 469.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.1121, allocations: 28 kB / 469.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.1126, allocations: 295.7 kB / 469.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.1127, allocations: 75.62 kB / 470 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.1129, allocations: 206.9 kB / 470.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.1135, allocations: 0.666 MB / 470.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1135, allocations: 0 / 470.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1135, allocations: 4 kB / 470.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1136, allocations: 3.938 kB / 470.9 MB, free: 13.77 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.004424/0.118, allocations: 1.315 MB / 472.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.118, allocations: 8.031 kB / 472.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.1182, allocations: 44.47 kB / 472.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.1187, allocations: 359.3 kB / 472.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.72e-05/0.1188, allocations: 54.83 kB / 472.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.1188, allocations: 40.31 kB / 472.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.1197, allocations: 480.8 kB / 473.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1198, allocations: 0 / 473.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.1198, allocations: 15.98 kB / 473.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.1198, allocations: 8 kB / 473.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.1207, allocations: 465.9 kB / 473.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.1239, allocations: 1.965 MB / 475.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.125, allocations: 0.5654 MB / 476.1 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/0.1256, allocations: 325.5 kB / 476.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.1257, allocations: 97.42 kB / 476.6 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008841/0.1266, allocations: 0.5436 MB / 477.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.926e-06/0.1266, allocations: 0 / 477.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.006121/0.1328, allocations: 1.885 MB / 479 MB, free: 5.254 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.1329, allocations: 195.9 kB / 479.2 MB, free: 5.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.1333, allocations: 324.4 kB / 479.5 MB, free: 4.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.1334, allocations: 37.7 kB / 479.5 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1335, allocations: 180.8 kB / 479.7 MB, free: 4.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.1337, allocations: 153.8 kB / 479.9 MB, free: 4.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.1339, allocations: 110.2 kB / 480 MB, free: 4.203 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1341, allocations: 350.7 kB / 480.3 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.1346, allocations: 293.1 kB / 480.6 MB, free: 3.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.1351, allocations: 342 kB / 480.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008198/0.1433, allocations: 2.15 MB / 483.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.1434, allocations: 0 / 483.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.2576/0.401, allocations: 1.297 MB / 484.4 MB, free: 28.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/0.4012, allocations: 36.84 kB / 484.4 MB, free: 28.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4012, allocations: 3 kB / 484.4 MB, free: 28.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005977/0.4072, allocations: 0.8673 MB / 485.3 MB, free: 28.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.4078, allocations: 74.44 kB / 485.4 MB, free: 28.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.4105, allocations: 1.268 MB / 486.6 MB, free: 27.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009725/0.4115, allocations: 97.23 kB / 486.7 MB, free: 27.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.4116, allocations: 20.81 kB / 486.7 MB, free: 27.71 MB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer 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.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.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * 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.000547/0.4122, allocations: 227.5 kB / 487 MB, free: 27.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.4124, allocations: 42.17 kB / 487 MB, free: 27.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/0.4155, allocations: 1.226 MB / 488.2 MB, free: 26.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.4156, allocations: 4.391 kB / 488.2 MB, free: 26.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4156, allocations: 4.312 kB / 488.2 MB, free: 26.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4156, allocations: 2.344 kB / 488.2 MB, free: 26.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.4167, allocations: 0.6325 MB / 488.9 MB, free: 26.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4167, allocations: 0.6562 kB / 488.9 MB, free: 26.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.417, allocations: 46.3 kB / 488.9 MB, free: 26.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005999/0.423, allocations: 0.9043 MB / 489.8 MB, free: 26.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/0.4231, allocations: 19.39 kB / 489.8 MB, free: 26.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.426, allocations: 1.405 MB / 491.2 MB, free: 25.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.426, allocations: 3.938 kB / 491.3 MB, free: 25.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/0.4301, allocations: 2.187 MB / 493.4 MB, free: 23.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.4305, allocations: 195.9 kB / 493.6 MB, free: 23.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.4306, allocations: 23.75 kB / 493.7 MB, free: 23.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008344/0.4315, allocations: 80.3 kB / 493.7 MB, free: 23.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.4318, allocations: 50.83 kB / 493.8 MB, free: 23.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.4319, allocations: 20.75 kB / 493.8 MB, free: 23.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004929/0.4324, allocations: 228.4 kB / 494 MB, free: 23.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4324, allocations: 0 / 494 MB, free: 23.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001185/0.4336, allocations: 141.8 kB / 494.2 MB, free: 23.64 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.0005415/0.4342, allocations: 148.1 kB / 494.3 MB, free: 23.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.4373, allocations: 0.9204 MB / 495.2 MB, free: 23.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4373, allocations: 1.25 kB / 495.2 MB, free: 23.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.4395, allocations: 0.6728 MB / 495.9 MB, free: 22.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.4401, allocations: 47.83 kB / 495.9 MB, free: 22.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.4426, allocations: 1.267 MB / 497.2 MB, free: 21.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4429, allocations: 0.8158 MB / 498 MB, free: 21.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000273/0.4432, allocations: 54.19 kB / 498.1 MB, free: 21.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4434, allocations: 32.91 kB / 498.1 MB, free: 21.18 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4434, allocations: 0 / 498.1 MB, free: 21.18 MB / 314.7 MB Notification: Performance of Templates: time 0.02254/0.4659, allocations: 10.13 MB / 0.4963 GB, free: 17.11 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)