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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.3 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 108.5 kB / 290.6 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04952/0.04952, allocations: 8.093 MB / 348.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 55.64 kB / 411.1 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.09617, allocations: 51.52 MB / 462.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.00306/0.09927, allocations: 2.689 MB / 465.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1011, allocations: 1.402 MB / 466.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1013, allocations: 7.938 kB / 466.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.1018, allocations: 243.3 kB / 467 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.1021, allocations: 235.1 kB / 467.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.1036, allocations: 0.9802 MB / 468.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.1039, allocations: 410.5 kB / 468.6 MB, free: 104 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1041, allocations: 68.61 kB / 468.6 MB, free: 32 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.1043, allocations: 191.3 kB / 468.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.1046, allocations: 283.1 kB / 469.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.1047, allocations: 16 kB / 469.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.1052, allocations: 303.7 kB / 469.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1053, allocations: 143.4 kB / 469.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1056, allocations: 234.5 kB / 469.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007516/0.1063, allocations: 0.6973 MB / 470.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1063, allocations: 0 / 470.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1063, allocations: 0 / 470.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1064, allocations: 0 / 470.5 MB, free: 14.18 MB / 314.7 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.003976/0.1103, allocations: 1.353 MB / 471.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1104, allocations: 12.03 kB / 471.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.1105, allocations: 68.19 kB / 471.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.1112, allocations: 467.8 kB / 472.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1112, allocations: 16.38 kB / 472.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.1113, allocations: 24.38 kB / 472.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.1119, allocations: 418.1 kB / 472.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.112, allocations: 4 kB / 472.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.112, allocations: 8 kB / 472.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.112, allocations: 4 kB / 472.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006018/0.1126, allocations: 344 kB / 473.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.1143, allocations: 1.101 MB / 474.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009041/0.1152, allocations: 0.5116 MB / 474.8 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.1156, allocations: 277 kB / 475 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.1167, allocations: 0.8587 MB / 475.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006801/0.1174, allocations: 497.1 kB / 476.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.1174, allocations: 0 / 476.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.003371/0.1208, allocations: 1.404 MB / 477.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.1209, allocations: 247.5 kB / 478 MB, free: 6.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.1216, allocations: 0.6786 MB / 478.7 MB, free: 5.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.1217, allocations: 41.7 kB / 478.8 MB, free: 5.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1218, allocations: 256.6 kB / 479 MB, free: 5.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.515e-05/0.1219, allocations: 110.5 kB / 479.1 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.1221, allocations: 90.05 kB / 479.2 MB, free: 4.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1223, allocations: 382.8 kB / 479.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1225, allocations: 200.9 kB / 479.8 MB, free: 4.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.1229, allocations: 303.1 kB / 480.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/0.1264, allocations: 1.398 MB / 481.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1265, allocations: 3.938 kB / 481.5 MB, free: 2.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001801/0.1283, allocations: 0.9314 MB / 482.4 MB, free: 1.629 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.1284, allocations: 75.31 kB / 482.5 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.1284, allocations: 0 / 482.5 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.1298, allocations: 355.3 kB / 482.8 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1301, allocations: 67.84 kB / 482.9 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2047/0.3348, allocations: 2.15 MB / 485 MB, free: 27.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009121/0.3358, allocations: 84.59 kB / 485.1 MB, free: 27.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.3359, allocations: 21.25 kB / 485.1 MB, free: 27.63 MB / 314.7 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.0006566/0.3365, allocations: 323.1 kB / 485.5 MB, free: 27.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.3367, allocations: 67.25 kB / 485.5 MB, free: 27.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.3406, allocations: 1.168 MB / 486.7 MB, free: 27.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.3406, allocations: 4.125 kB / 486.7 MB, free: 27.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3406, allocations: 0.875 kB / 486.7 MB, free: 27.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.3406, allocations: 1.688 kB / 486.7 MB, free: 27.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/0.3415, allocations: 0.5564 MB / 487.3 MB, free: 26.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3416, allocations: 0 / 487.3 MB, free: 26.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.3418, allocations: 34.8 kB / 487.3 MB, free: 26.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/0.3444, allocations: 408 kB / 487.7 MB, free: 26.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.3444, allocations: 18.52 kB / 487.7 MB, free: 26.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.3474, allocations: 2.266 MB / 490 MB, free: 24.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3474, allocations: 0 / 490 MB, free: 24.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004335/0.3517, allocations: 2.137 MB / 492.1 MB, free: 23.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003753/0.3521, allocations: 196 kB / 492.3 MB, free: 23.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.3523, allocations: 27.55 kB / 492.3 MB, free: 23.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.3529, allocations: 57.02 kB / 492.4 MB, free: 23.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.3531, allocations: 35.17 kB / 492.4 MB, free: 23.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.3532, allocations: 19.2 kB / 492.4 MB, free: 23.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008326/0.354, allocations: 497 kB / 492.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.354, allocations: 0 / 492.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009945/0.355, allocations: 146.2 kB / 493.1 MB, free: 22.97 MB / 314.7 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.0003256/0.3554, allocations: 180.1 kB / 493.2 MB, free: 22.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.3574, allocations: 0.8717 MB / 494.1 MB, free: 22.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3575, allocations: 0 / 494.1 MB, free: 22.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.359, allocations: 0.7165 MB / 494.8 MB, free: 21.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.3595, allocations: 59.45 kB / 494.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.3623, allocations: 1.482 MB / 496.4 MB, free: 21.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.3629, allocations: 0.8817 MB / 497.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.3632, allocations: 55.39 kB / 497.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3634, allocations: 36.02 kB / 497.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3634, allocations: 0 / 497.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of Templates: time 0.02156/0.3849, allocations: 8.042 MB / 0.4935 GB, free: 17.78 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile (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)