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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 88.98 kB / 20.25 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 173.2 kB / 23.57 MB, free: 0.8555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04096/0.04096, allocations: 4.483 MB / 264.8 MB, free: 8.574 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 335.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.505e-05, allocations: 8.781 kB / 335.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003511/0.003546, allocations: 1.76 MB / 337.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.006371, allocations: 1.7 MB / 339.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.006505, allocations: 4 kB / 339.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.007013, allocations: 147 kB / 339.4 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.007472, allocations: 143 kB / 339.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.009553, allocations: 0.8947 MB / 340.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.01004, allocations: 346.6 kB / 340.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.01019, allocations: 40.91 kB / 340.8 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.01043, allocations: 199.5 kB / 341 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.01066, allocations: 115.7 kB / 341.1 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.01073, allocations: 32 kB / 341.1 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.01124, allocations: 243.5 kB / 341.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.0113, allocations: 55.7 kB / 341.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.01144, allocations: 107.7 kB / 341.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007548/0.0122, allocations: 0.5414 MB / 342 MB, free: 7.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.0122, allocations: 0 / 342 MB, free: 7.258 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0122, allocations: 0 / 342 MB, free: 7.258 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.01221, allocations: 3.938 kB / 342.1 MB, free: 7.254 MB / 266.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.005387/0.0176, allocations: 1.134 MB / 343.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.01764, allocations: 8.031 kB / 343.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.01781, allocations: 56.75 kB / 343.2 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.0182, allocations: 235.6 kB / 343.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.01823, allocations: 16.38 kB / 343.5 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.01836, allocations: 24.56 kB / 343.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008435/0.0192, allocations: 495.5 kB / 344 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.01921, allocations: 192 / 344 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.01926, allocations: 12.12 kB / 344 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.01927, allocations: 4 kB / 344 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.01987, allocations: 253.5 kB / 344.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.02135, allocations: 0.7218 MB / 345 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.02237, allocations: 340.6 kB / 345.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.02278, allocations: 193.6 kB / 345.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.02383, allocations: 0.6521 MB / 346.2 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006737/0.02451, allocations: 0.5096 MB / 346.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.02451, allocations: 4 kB / 346.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.003805/0.02831, allocations: 0.9395 MB / 347.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.0284, allocations: 225.6 kB / 347.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.02874, allocations: 364.2 kB / 348.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.02877, allocations: 33.7 kB / 348.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.02887, allocations: 203.6 kB / 348.4 MB, free: 496 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.02896, allocations: 115.1 kB / 348.5 MB, free: 380 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.02915, allocations: 103.3 kB / 348.6 MB, free: 268 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003228/0.02947, allocations: 0.5352 MB / 349.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.02987, allocations: 154.2 kB / 349.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/0.03056, allocations: 372 kB / 349.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.03198, allocations: 0.6068 MB / 350.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.03198, allocations: 4 kB / 350.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001989/0.03397, allocations: 0.6618 MB / 351 MB, free: 13.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.03405, allocations: 37.69 kB / 351 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.03406, allocations: 4 kB / 351 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/0.03682, allocations: 430.7 kB / 351.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.03727, allocations: 71.84 kB / 351.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/0.04141, allocations: 3.029 MB / 354.5 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.04203, allocations: 75.73 kB / 354.6 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.04208, allocations: 12 kB / 354.6 MB, free: 9.895 MB / 282.7 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.0005171/0.0426, allocations: 259.6 kB / 354.9 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.04275, allocations: 47.81 kB / 354.9 MB, free: 9.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.04558, allocations: 0.7952 MB / 355.7 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.04559, allocations: 0 / 355.7 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.04559, allocations: 4 kB / 355.7 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.0456, allocations: 3.984 kB / 355.7 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.04624, allocations: 332.3 kB / 356 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.04625, allocations: 7.984 kB / 356 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.04651, allocations: 31.98 kB / 356.1 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002634/0.04914, allocations: 486.3 kB / 356.5 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.0492, allocations: 15.98 kB / 356.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.05385, allocations: 3.154 MB / 359.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.05385, allocations: 0 / 359.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.05727, allocations: 1.06 MB / 360.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.05754, allocations: 71.7 kB / 360.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.05765, allocations: 20 kB / 360.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.05811, allocations: 43.2 kB / 360.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.0583, allocations: 39.89 kB / 360.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.05836, allocations: 15.98 kB / 361 MB, free: 3.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003824/0.05874, allocations: 249.1 kB / 361.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05874, allocations: 0 / 361.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007244/0.05946, allocations: 96 kB / 361.3 MB, free: 2.867 MB / 282.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) * 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.0003264/0.05979, allocations: 131.2 kB / 361.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.06187, allocations: 0.7258 MB / 362.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.06187, allocations: 4 kB / 362.2 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.06324, allocations: 0.5301 MB / 362.7 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.06365, allocations: 41.17 kB / 362.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.06544, allocations: 0.6473 MB / 363.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.06566, allocations: 151.9 kB / 363.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.06582, allocations: 30.27 kB / 363.6 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.06594, allocations: 32.48 kB / 363.6 MB, free: 448 kB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.06594, allocations: 0 / 363.6 MB, free: 448 kB / 282.7 MB Notification: Performance of Templates: time 0.01814/0.08408, allocations: 5.847 MB / 369.4 MB, free: 10.65 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.865350806037895]