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.0009279/0.000928, allocations: 96.94 kB / 16.06 MB, free: 40 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.001228/0.001228, allocations: 181.7 kB / 16.96 MB, free: 6.895 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.556/1.556, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2238/0.2238, allocations: 8.08 MB / 300.2 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004641, allocations: 16 kB / 363.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 52.51 MB / 416 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003899/0.161, allocations: 2.851 MB / 418.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1632, allocations: 1.11 MB / 420 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1633, allocations: 8 kB / 420 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.1637, allocations: 151.3 kB / 420.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.1643, allocations: 234.8 kB / 420.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.1664, allocations: 1.214 MB / 421.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.1671, allocations: 473.9 kB / 422 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1673, allocations: 115.8 kB / 422.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1675, allocations: 171.3 kB / 422.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.1678, allocations: 231 kB / 422.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.1679, allocations: 24 kB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.1684, allocations: 291.7 kB / 422.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.888e-05/0.1684, allocations: 71.61 kB / 422.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.1687, allocations: 232.6 kB / 423.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007108/0.1694, allocations: 0.6425 MB / 423.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1694, allocations: 3.938 kB / 423.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1694, allocations: 0 / 423.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1694, allocations: 0 / 423.8 MB, free: 0.5273 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.2641/0.4335, allocations: 1.247 MB / 425 MB, free: 41.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.4336, allocations: 10.38 kB / 425 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004105/0.434, allocations: 46.19 kB / 425.1 MB, free: 41.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.435, allocations: 364.6 kB / 425.4 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.4352, allocations: 50.92 kB / 425.5 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.4354, allocations: 36.72 kB / 425.5 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.4368, allocations: 481.8 kB / 426 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.4368, allocations: 9.859 kB / 426 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.177e-05/0.4369, allocations: 13.77 kB / 426 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4369, allocations: 8.281 kB / 426 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.438, allocations: 485.5 kB / 426.5 MB, free: 41.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.4412, allocations: 1.985 MB / 428.5 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.4423, allocations: 0.5592 MB / 429.1 MB, free: 40.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.4428, allocations: 346.3 kB / 429.4 MB, free: 40.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.443, allocations: 93.83 kB / 429.5 MB, free: 40.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009043/0.4439, allocations: 0.5452 MB / 430 MB, free: 40.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.455e-06/0.4439, allocations: 0 / 430 MB, free: 40.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00602/0.4499, allocations: 1.903 MB / 431.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.45, allocations: 203.3 kB / 432.1 MB, free: 39.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.4504, allocations: 321.1 kB / 432.4 MB, free: 39.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.4504, allocations: 43.78 kB / 432.5 MB, free: 39.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.4505, allocations: 174.9 kB / 432.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4507, allocations: 155.2 kB / 432.8 MB, free: 39.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.4508, allocations: 59.67 kB / 432.9 MB, free: 39.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.4509, allocations: 350.3 kB / 433.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.4514, allocations: 297.2 kB / 433.5 MB, free: 38.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.4519, allocations: 353.5 kB / 433.8 MB, free: 38.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007807/0.4597, allocations: 2.208 MB / 436 MB, free: 38.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4598, allocations: 0 / 436 MB, free: 38.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003299/0.4631, allocations: 1.326 MB / 437.4 MB, free: 37.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.4631, allocations: 35.39 kB / 437.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4631, allocations: 3.25 kB / 437.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003583/0.4667, allocations: 0.8611 MB / 438.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.4671, allocations: 84.66 kB / 438.4 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4687, allocations: 1.268 MB / 439.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.4693, allocations: 98.89 kB / 439.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.4694, allocations: 23.09 kB / 439.7 MB, free: 36.32 MB / 350.1 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.0003565/0.4698, allocations: 223.3 kB / 440 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.4699, allocations: 50.59 kB / 440 MB, free: 36.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.4718, allocations: 1.235 MB / 441.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4718, allocations: 8.812 kB / 441.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4718, allocations: 0 / 441.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4718, allocations: 0 / 441.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.4724, allocations: 0.6391 MB / 441.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4724, allocations: 0 / 441.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.4726, allocations: 50.53 kB / 441.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003588/0.4762, allocations: 0.9151 MB / 442.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.4762, allocations: 23.8 kB / 442.9 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.4781, allocations: 1.4 MB / 444.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4781, allocations: 4.875 kB / 444.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.4799, allocations: 1.206 MB / 445.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.4801, allocations: 206.3 kB / 445.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.4803, allocations: 17.53 kB / 445.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.4808, allocations: 80.39 kB / 445.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.481, allocations: 48.58 kB / 445.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.481, allocations: 20.45 kB / 445.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.4813, allocations: 228.7 kB / 446.1 MB, free: 32.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4813, allocations: 0 / 446.1 MB, free: 32.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.4818, allocations: 144.9 kB / 446.2 MB, free: 32.93 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 (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.0002723/0.4821, allocations: 152.1 kB / 446.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.4841, allocations: 0.9376 MB / 447.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4841, allocations: 4.125 kB / 447.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.4854, allocations: 0.6729 MB / 448 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.4859, allocations: 52.22 kB / 448 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.4874, allocations: 0.9992 MB / 449 MB, free: 31.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4877, allocations: 0.8009 MB / 449.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.4879, allocations: 52.08 kB / 449.9 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.488, allocations: 33.8 kB / 449.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.488, allocations: 1.125 kB / 449.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of Templates: time 0.01575/0.5038, allocations: 9.383 MB / 459.3 MB, free: 30.06 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: