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.0009375/0.0009376, allocations: 97.25 kB / 15.74 MB, free: 424 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.001021/0.001021, allocations: 170.2 kB / 16.62 MB, free: 6.43 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.496/1.496, allocations: 223.3 MB / 240.7 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.22/0.22, allocations: 8.084 MB / 299.8 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00054/0.00054, allocations: 8 kB / 362.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1476, allocations: 52.52 MB / 415.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003781/0.1515, allocations: 2.717 MB / 418.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1541, allocations: 1.021 MB / 419.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005604/0.1547, allocations: 4 kB / 419.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000722/0.1554, allocations: 127.4 kB / 419.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.1565, allocations: 210.9 kB / 419.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.159, allocations: 1.016 MB / 420.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007117/0.1597, allocations: 450 kB / 420.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.16, allocations: 94.33 kB / 421 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1602, allocations: 175.3 kB / 421.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.1605, allocations: 223.1 kB / 421.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.1606, allocations: 20 kB / 421.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.1612, allocations: 275.7 kB / 421.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.1613, allocations: 71.66 kB / 421.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1614, allocations: 101.5 kB / 421.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.1619, allocations: 495 kB / 422.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.162, allocations: 4 kB / 422.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.162, allocations: 3.938 kB / 422.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.162, allocations: 0 / 422.3 MB, free: 1.723 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.004216/0.1662, allocations: 1.257 MB / 423.6 MB, free: 420 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1663, allocations: 8.031 kB / 423.6 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.1665, allocations: 51.39 kB / 423.7 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2726/0.439, allocations: 335.4 kB / 424 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.4392, allocations: 55.67 kB / 424 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.4394, allocations: 32.47 kB / 424.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.4406, allocations: 487 kB / 424.5 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4406, allocations: 0 / 424.5 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.4407, allocations: 13.19 kB / 424.6 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4407, allocations: 6 kB / 424.6 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.4415, allocations: 479.3 kB / 425 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.4442, allocations: 2.004 MB / 427 MB, free: 39.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.4453, allocations: 0.5619 MB / 427.6 MB, free: 39.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.4458, allocations: 340.4 kB / 427.9 MB, free: 39.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.4459, allocations: 93.48 kB / 428 MB, free: 39.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008237/0.4468, allocations: 0.545 MB / 428.6 MB, free: 39.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 3.236e-06/0.4468, allocations: 0 / 428.6 MB, free: 39.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005298/0.4521, allocations: 1.893 MB / 430.5 MB, free: 39.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.4522, allocations: 196.7 kB / 430.6 MB, free: 39.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.4525, allocations: 318.7 kB / 431 MB, free: 39.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.4526, allocations: 39.45 kB / 431 MB, free: 38.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4527, allocations: 181.2 kB / 431.2 MB, free: 38.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.4529, allocations: 153.6 kB / 431.3 MB, free: 38.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.4529, allocations: 9.812 kB / 431.3 MB, free: 38.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.453, allocations: 352 kB / 431.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.4535, allocations: 292.6 kB / 432 MB, free: 38.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/0.454, allocations: 352.4 kB / 432.3 MB, free: 38.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.4546, allocations: 336.5 kB / 432.6 MB, free: 38.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4546, allocations: 3.328 kB / 432.6 MB, free: 38.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003016/0.4576, allocations: 1.327 MB / 434 MB, free: 37.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.4577, allocations: 36 kB / 434 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4577, allocations: 3.953 kB / 434 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/0.461, allocations: 0.8647 MB / 434.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.4613, allocations: 79.14 kB / 434.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.4628, allocations: 1.27 MB / 436.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.4634, allocations: 105.7 kB / 436.3 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.4634, allocations: 22.88 kB / 436.3 MB, free: 36.62 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.0003781/0.4638, allocations: 224.5 kB / 436.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.4639, allocations: 41.47 kB / 436.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.4658, allocations: 1.236 MB / 437.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.4658, allocations: 3.312 kB / 437.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4658, allocations: 6.891 kB / 437.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4658, allocations: 7.844 kB / 437.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.4664, allocations: 0.6341 MB / 438.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4664, allocations: 0 / 438.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.4666, allocations: 49.64 kB / 438.5 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003195/0.4698, allocations: 0.9169 MB / 439.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.4699, allocations: 17.91 kB / 439.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.4716, allocations: 1.405 MB / 440.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4716, allocations: 0 / 440.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.4733, allocations: 1.197 MB / 442.1 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.4736, allocations: 209.2 kB / 442.3 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.4737, allocations: 22.47 kB / 442.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.4741, allocations: 80.05 kB / 442.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4743, allocations: 51.22 kB / 442.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.4744, allocations: 23.72 kB / 442.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002769/0.4747, allocations: 225.4 kB / 442.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4747, allocations: 0 / 442.7 MB, free: 33.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000571/0.4753, allocations: 142.9 kB / 442.8 MB, free: 33.23 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.0002818/0.4755, allocations: 141.4 kB / 443 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.4773, allocations: 0.936 MB / 443.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4773, allocations: 0 / 443.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4784, allocations: 0.6792 MB / 444.6 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.4789, allocations: 50.92 kB / 444.6 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.4803, allocations: 0.9553 MB / 445.6 MB, free: 31.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.4805, allocations: 0.8024 MB / 446.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.4807, allocations: 48.91 kB / 446.4 MB, free: 31.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.4808, allocations: 34.02 kB / 446.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4808, allocations: 3.938 kB / 446.5 MB, free: 31.04 MB / 350.1 MB Notification: Performance of Templates: time 0.01412/0.4949, allocations: 9.099 MB / 455.6 MB, free: 30.41 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: