Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 104.1 kB / 16.31 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 193.7 kB / 17.24 MB, free: 5.543 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0524/0.0524, allocations: 8.1 MB / 299.2 MB, free: 6.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.88 kB / 361.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2689, allocations: 51.5 MB / 413.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002859/0.2718, allocations: 1.837 MB / 415.1 MB, free: 23.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.2738, allocations: 1.684 MB / 416.8 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.804e-05/0.2739, allocations: 7.938 kB / 416.8 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.2743, allocations: 143.2 kB / 416.9 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.2747, allocations: 143.1 kB / 417.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.2761, allocations: 0.9336 MB / 418 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.2765, allocations: 366.7 kB / 418.3 MB, free: 20.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2766, allocations: 64.7 kB / 418.4 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.2768, allocations: 135.5 kB / 418.5 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.2769, allocations: 163.3 kB / 418.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.277, allocations: 28 kB / 418.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.2773, allocations: 239.8 kB / 419 MB, free: 19.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.2774, allocations: 59.7 kB / 419 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2775, allocations: 155.2 kB / 419.2 MB, free: 19.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.278, allocations: 0.4888 MB / 419.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.278, allocations: 0 / 419.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.278, allocations: 0 / 419.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.278, allocations: 0 / 419.7 MB, free: 19.15 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003287/0.2813, allocations: 1.065 MB / 420.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2814, allocations: 12.03 kB / 420.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.2815, allocations: 32.56 kB / 420.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2817, allocations: 290.8 kB / 421.1 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2818, allocations: 16.38 kB / 421.1 MB, free: 17.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.2819, allocations: 20.56 kB / 421.1 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.2824, allocations: 335.1 kB / 421.4 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2824, allocations: 3.938 kB / 421.4 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.2825, allocations: 8 kB / 421.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2825, allocations: 8 kB / 421.4 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.2829, allocations: 271.8 kB / 421.7 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.284, allocations: 0.9321 MB / 422.6 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.2848, allocations: 447.3 kB / 423.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.2851, allocations: 196.8 kB / 423.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007349/0.2858, allocations: 0.8231 MB / 424.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005279/0.2864, allocations: 375.7 kB / 424.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.2864, allocations: 0 / 424.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.002489/0.2889, allocations: 1.032 MB / 425.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.289, allocations: 225.5 kB / 425.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.2892, allocations: 258.6 kB / 426 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.2892, allocations: 33.7 kB / 426 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.2893, allocations: 144.7 kB / 426.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.2894, allocations: 106.5 kB / 426.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2895, allocations: 81.67 kB / 426.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.2895, allocations: 338.8 kB / 426.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.2897, allocations: 132.4 kB / 426.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.29, allocations: 242.7 kB / 427 MB, free: 11.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.2927, allocations: 1.021 MB / 428 MB, free: 10.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2927, allocations: 0 / 428 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008951/0.2936, allocations: 0.5937 MB / 428.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.2937, allocations: 37.69 kB / 428.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2937, allocations: 4 kB / 428.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.295, allocations: 367.5 kB / 429 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.2953, allocations: 63.84 kB / 429.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.2968, allocations: 2.269 MB / 431.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.2972, allocations: 75.64 kB / 431.4 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.2972, allocations: 12 kB / 431.4 MB, free: 6.605 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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.0002439/0.2975, allocations: 212.8 kB / 431.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.2975, allocations: 35.72 kB / 431.7 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.299, allocations: 0.8393 MB / 432.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.299, allocations: 7.984 kB / 432.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.299, allocations: 7.938 kB / 432.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.299, allocations: 0 / 432.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.2994, allocations: 429.2 kB / 433 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2994, allocations: 0 / 433 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.2995, allocations: 35.91 kB / 433 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.3009, allocations: 410.9 kB / 433.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.3009, allocations: 15.98 kB / 433.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.3026, allocations: 2.364 MB / 435.8 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3026, allocations: 0 / 435.8 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.3043, allocations: 1.054 MB / 436.8 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.3044, allocations: 152.7 kB / 437 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.3045, allocations: 20 kB / 437 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.3048, allocations: 51.94 kB / 437.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.3049, allocations: 35.95 kB / 437.1 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.305, allocations: 12 kB / 437.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.3051, allocations: 190 kB / 437.3 MB, free: 456 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3051, allocations: 8 kB / 437.3 MB, free: 448 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003829/0.3055, allocations: 88 kB / 437.4 MB, free: 360 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0002164/0.3057, allocations: 151.2 kB / 437.5 MB, free: 196 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.307, allocations: 0.6622 MB / 438.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.307, allocations: 0 / 438.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008846/0.3079, allocations: 0.5503 MB / 438.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.3082, allocations: 40.5 kB / 438.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3092, allocations: 0.6207 MB / 439.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3096, allocations: 0.7605 MB / 440.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.3097, allocations: 30.28 kB / 440.2 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.3097, allocations: 31.42 kB / 440.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3098, allocations: 0 / 440.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of Templates: time 0.01204/0.3218, allocations: 6.395 MB / 446.6 MB, free: 7.059 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1)