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.001003/0.001003, 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.001063/0.001063, 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.47/1.47, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1944/0.1944, allocations: 8.082 MB / 300.2 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005605/0.0005605, allocations: 11.98 kB / 363.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.135, allocations: 52.52 MB / 416 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.002836/0.1379, allocations: 2.326 MB / 418.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1402, allocations: 1.379 MB / 419.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1404, allocations: 0 / 419.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.1409, allocations: 239.3 kB / 419.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.1414, allocations: 243.1 kB / 420.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.1432, allocations: 0.9536 MB / 421.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.1438, allocations: 418.5 kB / 421.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1439, allocations: 52.72 kB / 421.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.1441, allocations: 179.4 kB / 421.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.1445, allocations: 287.1 kB / 422.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.1445, allocations: 19.94 kB / 422.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005508/0.1451, allocations: 291.7 kB / 422.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.1452, allocations: 139.4 kB / 422.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1455, allocations: 256.2 kB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007544/0.1463, allocations: 0.6777 MB / 423.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1463, allocations: 3.938 kB / 423.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1463, allocations: 0 / 423.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1463, allocations: 4 kB / 423.4 MB, free: 0.9141 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.2319/0.3782, allocations: 1.264 MB / 424.7 MB, free: 41.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3782, allocations: 8.812 kB / 424.7 MB, free: 41.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.3785, allocations: 64.88 kB / 424.8 MB, free: 41.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.379, allocations: 476.2 kB / 425.2 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.3791, allocations: 17.16 kB / 425.2 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.3791, allocations: 23.42 kB / 425.3 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.3799, allocations: 407.5 kB / 425.7 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3799, allocations: 4.188 kB / 425.7 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.3799, allocations: 15.38 kB / 425.7 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.38, allocations: 1.344 kB / 425.7 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.3805, allocations: 348.5 kB / 426 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.3821, allocations: 1.117 MB / 427.1 MB, free: 40.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/0.3831, allocations: 0.5083 MB / 427.7 MB, free: 40.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.3835, allocations: 276.2 kB / 427.9 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008921/0.3844, allocations: 0.8744 MB / 428.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/0.385, allocations: 481.9 kB / 429.3 MB, free: 39.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.385, allocations: 0 / 429.3 MB, free: 39.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003094/0.3881, allocations: 1.413 MB / 430.7 MB, free: 39.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.3882, allocations: 254.3 kB / 430.9 MB, free: 39.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.3889, allocations: 0.6826 MB / 431.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.389, allocations: 35.52 kB / 431.6 MB, free: 39.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3892, allocations: 262.4 kB / 431.9 MB, free: 38.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.3893, allocations: 115.5 kB / 432 MB, free: 38.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.3893, allocations: 52.36 kB / 432.1 MB, free: 38.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3894, allocations: 372.8 kB / 432.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.3897, allocations: 202.9 kB / 432.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.3901, allocations: 302.9 kB / 432.9 MB, free: 38.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.3932, allocations: 1.394 MB / 434.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3932, allocations: 2.875 kB / 434.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001685/0.3949, allocations: 0.9385 MB / 435.3 MB, free: 37.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.395, allocations: 76.98 kB / 435.3 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.395, allocations: 3.125 kB / 435.3 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.3964, allocations: 359.2 kB / 435.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.3966, allocations: 64.73 kB / 435.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.3982, allocations: 2.161 MB / 437.9 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.3986, allocations: 88.91 kB / 438 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.3987, allocations: 21.3 kB / 438 MB, free: 35.69 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004101/0.3991, allocations: 323.8 kB / 438.3 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.3992, allocations: 66.69 kB / 438.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.4012, allocations: 1.176 MB / 439.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4013, allocations: 3.219 kB / 439.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4013, allocations: 0.6562 kB / 439.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4013, allocations: 3.25 kB / 439.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.4017, allocations: 0.5521 MB / 440.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4017, allocations: 0.75 kB / 440.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.4019, allocations: 32.75 kB / 440.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.4033, allocations: 416.8 kB / 440.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.4033, allocations: 13.88 kB / 440.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.4051, allocations: 2.277 MB / 442.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4052, allocations: 0 / 442.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.4071, allocations: 1.177 MB / 444 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.4074, allocations: 209.7 kB / 444.3 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.4075, allocations: 20.09 kB / 444.3 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.4079, allocations: 66.12 kB / 444.3 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.408, allocations: 40.81 kB / 444.4 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.4081, allocations: 23.48 kB / 444.4 MB, free: 31.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005494/0.4086, allocations: 496.6 kB / 444.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4086, allocations: 0.6562 kB / 444.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005717/0.4092, allocations: 135.7 kB / 445 MB, free: 31.48 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003466/0.4095, allocations: 174.7 kB / 445.2 MB, free: 31.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.411, allocations: 0.8862 MB / 446.1 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.411, allocations: 3.156 kB / 446.1 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009354/0.412, allocations: 0.7045 MB / 446.8 MB, free: 30.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4124, allocations: 61.97 kB / 446.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.4138, allocations: 1.251 MB / 448.1 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4141, allocations: 0.8775 MB / 449 MB, free: 29.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.4142, allocations: 51.47 kB / 449 MB, free: 29.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.4143, allocations: 32.3 kB / 449.1 MB, free: 29.01 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4143, allocations: 4 kB / 449.1 MB, free: 29.01 MB / 350.1 MB Notification: Performance of Templates: time 0.01327/0.4276, allocations: 7.497 MB / 456.6 MB, free: 28.43 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: