Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 95.89 kB / 15.73 MB, free: 440 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.001935/0.001935, allocations: 171.9 kB / 16.61 MB, free: 6.426 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.52/1.52, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2702/0.2702, allocations: 8.089 MB / 299.7 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 8 kB / 362.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1414, allocations: 52.5 MB / 415.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003522/0.145, allocations: 2.154 MB / 417.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.1478, allocations: 1.244 MB / 418.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003573/0.1482, allocations: 4 kB / 418.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.1489, allocations: 211.3 kB / 418.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006907/0.1496, allocations: 239.4 kB / 419.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.1515, allocations: 0.8136 MB / 419.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007329/0.1523, allocations: 295.4 kB / 420.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.1525, allocations: 52.89 kB / 420.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003598/0.1528, allocations: 171.5 kB / 420.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.1533, allocations: 247.3 kB / 420.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.1534, allocations: 16 kB / 420.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006378/0.154, allocations: 259.6 kB / 420.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1542, allocations: 139.5 kB / 421.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1544, allocations: 109.4 kB / 421.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.1552, allocations: 499.2 kB / 421.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1552, allocations: 4 kB / 421.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1552, allocations: 0 / 421.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.1552, allocations: 4 kB / 421.7 MB, free: 2.297 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.004265/0.1595, allocations: 1.276 MB / 423 MB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.1596, allocations: 12.03 kB / 423 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.1599, allocations: 71.14 kB / 423 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.161, allocations: 447 kB / 423.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.1611, allocations: 16 kB / 423.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/0.1612, allocations: 20 kB / 423.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2543/0.4155, allocations: 416.2 kB / 423.9 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4155, allocations: 0 / 423.9 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.4156, allocations: 4.938 kB / 423.9 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4156, allocations: 6.125 kB / 423.9 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.4164, allocations: 347.4 kB / 424.3 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.4181, allocations: 1.113 MB / 425.4 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.4189, allocations: 0.5092 MB / 425.9 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/0.4199, allocations: 0.8615 MB / 426.7 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005748/0.4205, allocations: 491.5 kB / 427.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.923e-06/0.4205, allocations: 0 / 427.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003008/0.4235, allocations: 1.489 MB / 428.7 MB, free: 39.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.4236, allocations: 249.4 kB / 429 MB, free: 39.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007149/0.4243, allocations: 0.6781 MB / 429.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.4244, allocations: 35.42 kB / 429.7 MB, free: 39.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4245, allocations: 267 kB / 429.9 MB, free: 38.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.4246, allocations: 117.5 kB / 430 MB, free: 38.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.4246, allocations: 10.25 kB / 430.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.4247, allocations: 376.1 kB / 430.4 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.425, allocations: 201.2 kB / 430.6 MB, free: 38.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.4253, allocations: 303.5 kB / 430.9 MB, free: 38.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.4257, allocations: 279 kB / 431.2 MB, free: 38.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4257, allocations: 2.844 kB / 431.2 MB, free: 38.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001667/0.4274, allocations: 0.9266 MB / 432.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.4274, allocations: 74.56 kB / 432.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4274, allocations: 3.156 kB / 432.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.4288, allocations: 354.8 kB / 432.5 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.429, allocations: 61.44 kB / 432.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.4305, allocations: 2.167 MB / 434.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.431, allocations: 98.92 kB / 434.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.4311, allocations: 23.86 kB / 434.9 MB, free: 36.27 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003902/0.4315, allocations: 311.3 kB / 435.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.4315, allocations: 71.8 kB / 435.3 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.4336, allocations: 1.176 MB / 436.4 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4336, allocations: 3.281 kB / 436.4 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4336, allocations: 3.344 kB / 436.4 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4336, allocations: 3.594 kB / 436.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.4341, allocations: 0.5503 MB / 437 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4341, allocations: 0 / 437 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.4342, allocations: 29.42 kB / 437 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.4356, allocations: 418.1 kB / 437.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.4356, allocations: 22.33 kB / 437.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.4373, allocations: 2.281 MB / 439.7 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4374, allocations: 3.312 kB / 439.7 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.4392, allocations: 1.166 MB / 440.9 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.4395, allocations: 200.2 kB / 441.1 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.4396, allocations: 21 kB / 441.1 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.4399, allocations: 62.5 kB / 441.2 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.4401, allocations: 57.73 kB / 441.2 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.4401, allocations: 20.91 kB / 441.3 MB, free: 32.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005178/0.4407, allocations: 493.2 kB / 441.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4407, allocations: 0 / 441.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005376/0.4412, allocations: 142.3 kB / 441.9 MB, free: 32.29 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002779/0.4415, allocations: 171.6 kB / 442.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4428, allocations: 0.886 MB / 442.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4428, allocations: 4.062 kB / 442.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.4436, allocations: 0.709 MB / 443.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.4439, allocations: 46.86 kB / 443.7 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.4453, allocations: 1.191 MB / 444.9 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.4456, allocations: 0.8843 MB / 445.8 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.4458, allocations: 54.34 kB / 445.8 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.4459, allocations: 31.38 kB / 445.9 MB, free: 29.87 MB / 350.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4459, allocations: 3.188 kB / 445.9 MB, free: 29.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01203/0.4579, allocations: 7.277 MB / 453.1 MB, free: 29.29 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) Environment - environmentSimulation: