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.001163/0.001164, allocations: 103.1 kB / 16.03 MB, free: 6.344 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.001148/0.001148, allocations: 186.5 kB / 16.95 MB, free: 6.172 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05848/0.05848, allocations: 8.103 MB / 298.9 MB, free: 6.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 361.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2987, allocations: 51.52 MB / 412.7 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.00282/0.3016, allocations: 1.863 MB / 414.6 MB, free: 23.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.3036, allocations: 1.68 MB / 416.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.3038, allocations: 4 kB / 416.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.3042, allocations: 115.5 kB / 416.4 MB, free: 22.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.3046, allocations: 127.3 kB / 416.5 MB, free: 21.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3059, allocations: 0.903 MB / 417.4 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.3062, allocations: 366.7 kB / 417.8 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3063, allocations: 56.72 kB / 417.8 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.899e-05/0.3064, allocations: 135.5 kB / 418 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3066, allocations: 163.3 kB / 418.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.3067, allocations: 32 kB / 418.2 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.307, allocations: 239.8 kB / 418.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.307, allocations: 51.77 kB / 418.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.3071, allocations: 159.2 kB / 418.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.3076, allocations: 0.4888 MB / 419.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3076, allocations: 0 / 419.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3076, allocations: 0 / 419.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3076, allocations: 0 / 419.1 MB, free: 19.39 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.003373/0.311, allocations: 1.066 MB / 420.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3111, allocations: 8.031 kB / 420.2 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.559e-05/0.3112, allocations: 36.56 kB / 420.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.3115, allocations: 294.8 kB / 420.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3116, allocations: 16.38 kB / 420.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.3117, allocations: 24.56 kB / 420.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.3122, allocations: 335.2 kB / 420.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3123, allocations: 0 / 420.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.3123, allocations: 8 kB / 420.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3123, allocations: 8 kB / 420.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.3127, allocations: 263.8 kB / 421.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.3139, allocations: 0.9321 MB / 422.1 MB, free: 16.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007475/0.3147, allocations: 445.9 kB / 422.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.315, allocations: 196.8 kB / 422.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007828/0.3158, allocations: 0.8231 MB / 423.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/0.3163, allocations: 379.3 kB / 423.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.3163, allocations: 4 kB / 423.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.002546/0.3189, allocations: 1.032 MB / 424.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.319, allocations: 221.6 kB / 425.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.3192, allocations: 258.6 kB / 425.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.3193, allocations: 37.7 kB / 425.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.3194, allocations: 148.7 kB / 425.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.3194, allocations: 98.55 kB / 425.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3195, allocations: 81.67 kB / 425.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.3196, allocations: 338.8 kB / 426.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.3198, allocations: 140.3 kB / 426.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.3201, allocations: 242.4 kB / 426.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.3231, allocations: 1.017 MB / 427.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3231, allocations: 0 / 427.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009645/0.3241, allocations: 0.6013 MB / 428.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.3241, allocations: 41.69 kB / 428.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3242, allocations: 4 kB / 428.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.3256, allocations: 363.5 kB / 428.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3258, allocations: 63.91 kB / 428.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.3274, allocations: 2.26 MB / 430.8 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.3278, allocations: 75.64 kB / 430.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.3279, allocations: 16 kB / 430.9 MB, free: 6.852 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.0002707/0.3282, allocations: 221.4 kB / 431.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.3282, allocations: 35.64 kB / 431.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.3298, allocations: 0.8315 MB / 432 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3298, allocations: 4 kB / 432 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3298, allocations: 7.938 kB / 432 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3298, allocations: 0 / 432 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.3301, allocations: 433.2 kB / 432.4 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3301, allocations: 4 kB / 432.4 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.3303, allocations: 39.91 kB / 432.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.3318, allocations: 403 kB / 432.8 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.3318, allocations: 11.98 kB / 432.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.3336, allocations: 2.368 MB / 435.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3336, allocations: 0 / 435.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.3354, allocations: 1.046 MB / 436.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3355, allocations: 160.6 kB / 436.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.3356, allocations: 16 kB / 436.4 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.3359, allocations: 59.94 kB / 436.5 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.336, allocations: 39.89 kB / 436.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.3361, allocations: 12 kB / 436.5 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3362, allocations: 190 kB / 436.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3362, allocations: 4 kB / 436.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.3366, allocations: 96 kB / 436.8 MB, free: 0.5859 MB / 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.0002071/0.3369, allocations: 143.2 kB / 437 MB, free: 444 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.3381, allocations: 0.6583 MB / 437.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3381, allocations: 0 / 437.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008484/0.339, allocations: 0.5581 MB / 438.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3392, allocations: 40.44 kB / 438.2 MB, free: 15.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3403, allocations: 0.6974 MB / 438.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3406, allocations: 0.7644 MB / 439.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.3408, allocations: 30.27 kB / 439.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.3408, allocations: 27.44 kB / 439.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3409, allocations: 0 / 439.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of Templates: time 0.01067/0.3515, allocations: 6.081 MB / 445.8 MB, free: 7.523 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)