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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 182.4 kB / 13.23 MB, free: 2.086 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.507/1.507, allocations: 221.3 MB / 235.1 MB, free: 14.39 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.0008109/0.0008109, allocations: 91.08 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03899/0.03899, allocations: 8.097 MB / 345.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.727e-05, allocations: 4 kB / 405.5 MB, free: 61.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07628/0.07633, allocations: 52.51 MB / 458 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3043/0.3807, allocations: 80.62 MB / 0.526 GB, free: 5.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.3809, allocations: 65.88 kB / 0.526 GB, free: 5.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02302/0.404, allocations: 8.948 MB / 0.5348 GB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.404, allocations: 0.6562 kB / 0.5348 GB, free: 14.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.404, allocations: 11.94 kB / 0.5348 GB, free: 14.05 MB / 362.7 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.002016/0.406, allocations: 0.7227 MB / 0.5355 GB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4061, allocations: 8.031 kB / 0.5355 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.4062, allocations: 31.62 kB / 0.5355 GB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.4066, allocations: 302.2 kB / 0.5358 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4066, allocations: 11.19 kB / 0.5358 GB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.4067, allocations: 19.75 kB / 0.5359 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.4072, allocations: 315.1 kB / 0.5362 GB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4072, allocations: 3.938 kB / 0.5362 GB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.4073, allocations: 7.812 kB / 0.5362 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.4073, allocations: 4 kB / 0.5362 GB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.4077, allocations: 245.8 kB / 0.5364 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.4091, allocations: 0.991 MB / 0.5374 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.4098, allocations: 330.3 kB / 0.5377 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.41, allocations: 179.3 kB / 0.5379 GB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008011/0.4109, allocations: 0.7554 MB / 0.5386 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.4113, allocations: 365.1 kB / 0.5389 GB, free: 10.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.4113, allocations: 0 / 0.5389 GB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001304/0.4126, allocations: 0.6063 MB / 0.5395 GB, free: 10.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.4128, allocations: 221.8 kB / 0.5397 GB, free: 9.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.413, allocations: 230.5 kB / 0.54 GB, free: 9.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.4131, allocations: 33.64 kB / 0.54 GB, free: 9.551 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.4132, allocations: 148.6 kB / 0.5401 GB, free: 9.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.4132, allocations: 104.4 kB / 0.5402 GB, free: 9.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.4133, allocations: 3.25 kB / 0.5402 GB, free: 9.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4134, allocations: 348.5 kB / 0.5406 GB, free: 9.008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.4136, allocations: 114.1 kB / 0.5407 GB, free: 8.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.4138, allocations: 191.4 kB / 0.5409 GB, free: 8.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.414, allocations: 159.7 kB / 0.541 GB, free: 8.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.414, allocations: 0 / 0.541 GB, free: 8.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001405/0.4154, allocations: 0.623 MB / 0.5416 GB, free: 8.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.4155, allocations: 44.19 kB / 0.5417 GB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.4155, allocations: 4 kB / 0.5417 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.417, allocations: 350.4 kB / 0.542 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.4172, allocations: 51.91 kB / 0.5421 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.4191, allocations: 2.138 MB / 0.5441 GB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.4195, allocations: 74.83 kB / 0.5442 GB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.4196, allocations: 15.25 kB / 0.5442 GB, free: 5.594 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = false ) "Current tap position" type: Integer slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0002542/0.4198, allocations: 198.2 kB / 0.5444 GB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.4199, allocations: 31.62 kB / 0.5444 GB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.4214, allocations: 0.7934 MB / 0.5452 GB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4214, allocations: 4 kB / 0.5452 GB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.4214, allocations: 0 / 0.5452 GB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4214, allocations: 0 / 0.5452 GB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.4218, allocations: 459.3 kB / 0.5457 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4218, allocations: 4 kB / 0.5457 GB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.422, allocations: 43.42 kB / 0.5457 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.4234, allocations: 390 kB / 0.5461 GB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.4235, allocations: 11.25 kB / 0.5461 GB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.4258, allocations: 2.227 MB / 0.5483 GB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4258, allocations: 4 kB / 0.5483 GB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.4275, allocations: 0.9877 MB / 0.5492 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.4277, allocations: 162.8 kB / 0.5494 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.4278, allocations: 15.25 kB / 0.5494 GB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.4282, allocations: 59.69 kB / 0.5495 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4283, allocations: 53.12 kB / 0.5495 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4284, allocations: 15.69 kB / 0.5495 GB, free: 1.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.4286, allocations: 195.2 kB / 0.5497 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4286, allocations: 0 / 0.5497 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.429, allocations: 97.94 kB / 0.5498 GB, free: 0.7773 MB / 362.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.0002522/0.4293, allocations: 152.7 kB / 0.55 GB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.4303, allocations: 0.5869 MB / 0.5505 GB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4303, allocations: 4 kB / 0.5505 GB, free: 192 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.4311, allocations: 0.5449 MB / 0.5511 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.4313, allocations: 24.44 kB / 0.5511 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.4321, allocations: 437.9 kB / 0.5515 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.4324, allocations: 0.7684 MB / 0.5523 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.4326, allocations: 34.05 kB / 0.5523 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.4326, allocations: 27.42 kB / 0.5523 GB, free: 14.57 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4326, allocations: 0 / 0.5523 GB, free: 14.57 MB / 378.7 MB Notification: Performance of Templates: time 0.009481/0.4421, allocations: 5.601 MB / 0.5578 GB, free: 9.031 MB / 378.7 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)