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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 100.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 178.2 kB / 16.61 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 240.6 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.21/0.21, allocations: 8.087 MB / 299.7 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 8 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 52.52 MB / 415.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003304/0.1407, allocations: 2.594 MB / 417.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.1426, allocations: 1.025 MB / 418.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1427, allocations: 4 kB / 418.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.1431, allocations: 119.4 kB / 419 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.1437, allocations: 231.3 kB / 419.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.1455, allocations: 1.027 MB / 420.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000659/0.1462, allocations: 327.3 kB / 420.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.1464, allocations: 94.31 kB / 420.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.1466, allocations: 171.4 kB / 420.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.1469, allocations: 227.1 kB / 421.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.147, allocations: 20 kB / 421.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005716/0.1476, allocations: 251.6 kB / 421.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.1477, allocations: 67.73 kB / 421.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1478, allocations: 97.45 kB / 421.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.1484, allocations: 487.1 kB / 422 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1484, allocations: 3.938 kB / 422 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1484, allocations: 0 / 422 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.1484, allocations: 4 kB / 422 MB, free: 2.004 MB / 350.1 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.004462/0.1529, allocations: 1.245 MB / 423.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1529, allocations: 16.03 kB / 423.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.1531, allocations: 51.39 kB / 423.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.1537, allocations: 338.3 kB / 423.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.1538, allocations: 54.27 kB / 423.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.1538, allocations: 32 kB / 423.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2515/0.4054, allocations: 478.7 kB / 424.2 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4055, allocations: 1.75 kB / 424.2 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.4055, allocations: 11.97 kB / 424.2 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.4055, allocations: 7.297 kB / 424.2 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.4064, allocations: 478.2 kB / 424.7 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.4095, allocations: 2.013 MB / 426.7 MB, free: 40 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.4106, allocations: 0.5617 MB / 427.2 MB, free: 39.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.4108, allocations: 90.56 kB / 427.3 MB, free: 39.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009072/0.4117, allocations: 0.5435 MB / 427.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 4.739e-06/0.4118, allocations: 0 / 427.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005768/0.4175, allocations: 1.884 MB / 429.8 MB, free: 39.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.4177, allocations: 198.5 kB / 430 MB, free: 39.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.4181, allocations: 318.1 kB / 430.3 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.4181, allocations: 44.41 kB / 430.3 MB, free: 39.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4183, allocations: 178.3 kB / 430.5 MB, free: 39.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4184, allocations: 160 kB / 430.6 MB, free: 38.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.4185, allocations: 12.22 kB / 430.6 MB, free: 38.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4186, allocations: 347.3 kB / 431 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.419, allocations: 292.6 kB / 431.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.4195, allocations: 352.1 kB / 431.6 MB, free: 38.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.42, allocations: 336.5 kB / 431.9 MB, free: 38.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.42, allocations: 0 / 431.9 MB, free: 38.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003329/0.4234, allocations: 1.326 MB / 433.3 MB, free: 38.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.4234, allocations: 42.52 kB / 433.3 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4235, allocations: 0 / 433.3 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003536/0.427, allocations: 0.8606 MB / 434.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.4273, allocations: 77.34 kB / 434.3 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.4288, allocations: 1.273 MB / 435.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.4295, allocations: 107.4 kB / 435.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.4295, allocations: 21.12 kB / 435.6 MB, free: 37.05 MB / 350.1 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.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003858/0.4299, allocations: 226.8 kB / 435.9 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.43, allocations: 41.69 kB / 435.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.4319, allocations: 1.24 MB / 437.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4319, allocations: 6.531 kB / 437.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4319, allocations: 0 / 437.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.432, allocations: 4.016 kB / 437.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.4325, allocations: 0.6317 MB / 437.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4325, allocations: 3.375 kB / 437.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.4327, allocations: 46.95 kB / 437.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/0.4362, allocations: 0.9184 MB / 438.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/0.4362, allocations: 17.19 kB / 438.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.438, allocations: 1.399 MB / 440.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.438, allocations: 3.953 kB / 440.2 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4397, allocations: 1.2 MB / 441.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.44, allocations: 206.2 kB / 441.6 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.4401, allocations: 21.72 kB / 441.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.4406, allocations: 81.22 kB / 441.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.4408, allocations: 56.14 kB / 441.7 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.4408, allocations: 23.97 kB / 441.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.4411, allocations: 225.7 kB / 442 MB, free: 33.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4411, allocations: 0 / 442 MB, free: 33.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005124/0.4417, allocations: 146.8 kB / 442.1 MB, free: 33.66 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.4419, allocations: 136.2 kB / 442.3 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.4437, allocations: 0.9353 MB / 443.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4437, allocations: 4 kB / 443.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.4449, allocations: 0.6801 MB / 443.9 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.4452, allocations: 38.2 kB / 443.9 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.4465, allocations: 0.9497 MB / 444.9 MB, free: 32.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.4468, allocations: 0.8196 MB / 445.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.4469, allocations: 46.36 kB / 445.7 MB, free: 31.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.447, allocations: 39.45 kB / 445.8 MB, free: 31.48 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.447, allocations: 0 / 445.8 MB, free: 31.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01208/0.4591, allocations: 9.042 MB / 454.8 MB, free: 30.86 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: