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.0009152/0.0009152, allocations: 84.22 kB / 20.98 MB, free: 3.57 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.000969/0.000969, allocations: 165 kB / 24.29 MB, free: 272 kB / 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.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.04917/0.04917, allocations: 4.484 MB / 265.6 MB, free: 8.629 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.503e-06/1.503e-06, allocations: 0 / 336.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.192e-05, allocations: 9.344 kB / 336.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003359/0.003381, allocations: 1.779 MB / 338.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.005066, allocations: 1.714 MB / 340 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.005158, allocations: 8 kB / 340 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.005435, allocations: 143 kB / 340.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.005661, allocations: 150.9 kB / 340.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008163/0.006477, allocations: 0.8831 MB / 341.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.00676, allocations: 358.5 kB / 341.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.006878, allocations: 40.91 kB / 341.5 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.007008, allocations: 195.6 kB / 341.7 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.007127, allocations: 123.6 kB / 341.9 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.00716, allocations: 28 kB / 341.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.007387, allocations: 239.5 kB / 342.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.007422, allocations: 47.77 kB / 342.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.007501, allocations: 119.7 kB / 342.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.007873, allocations: 446.6 kB / 342.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.007875, allocations: 0 / 342.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.007876, allocations: 3.938 kB / 342.7 MB, free: 7.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.007881, allocations: 4 kB / 342.7 MB, free: 7.312 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.001918/0.009799, allocations: 1.119 MB / 343.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.009832, allocations: 8.031 kB / 343.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.009912, allocations: 48.75 kB / 343.9 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.01012, allocations: 227.6 kB / 344.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.01015, allocations: 20.38 kB / 344.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.01022, allocations: 24.56 kB / 344.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.01057, allocations: 416.1 kB / 344.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.01059, allocations: 192 / 344.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.01061, allocations: 16.12 kB / 344.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.01062, allocations: 7.938 kB / 344.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.01081, allocations: 154.2 kB / 344.7 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.01147, allocations: 0.6592 MB / 345.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.01187, allocations: 264.7 kB / 345.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.01199, allocations: 121.6 kB / 345.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/0.01248, allocations: 0.6013 MB / 346.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000301/0.01278, allocations: 464.9 kB / 346.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.01278, allocations: 0 / 346.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.001286/0.01407, allocations: 0.7131 MB / 347.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.01412, allocations: 221.6 kB / 347.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.01427, allocations: 312.1 kB / 348.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.0143, allocations: 37.7 kB / 348.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.01436, allocations: 191.6 kB / 348.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.01441, allocations: 107.1 kB / 348.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/0.0145, allocations: 87.33 kB / 348.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.01457, allocations: 0.5274 MB / 349 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.01467, allocations: 106.1 kB / 349.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.01482, allocations: 307.4 kB / 349.4 MB, free: 120 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.0156, allocations: 474 kB / 349.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.0156, allocations: 0 / 349.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006211/0.01622, allocations: 0.5208 MB / 350.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.01626, allocations: 41.69 kB / 350.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01626, allocations: 0 / 350.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008681/0.01713, allocations: 370.5 kB / 350.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01729, allocations: 71.84 kB / 350.9 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.01917, allocations: 2.815 MB / 353.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.01935, allocations: 67.64 kB / 353.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.01938, allocations: 24.16 kB / 353.8 MB, free: 11.45 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.000224/0.0196, allocations: 255.5 kB / 354 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.01966, allocations: 47.81 kB / 354.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008096/0.02047, allocations: 0.595 MB / 354.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.02047, allocations: 0 / 354.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.02047, allocations: 4 kB / 354.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02048, allocations: 3.984 kB / 354.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.02069, allocations: 296.1 kB / 355 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.0207, allocations: 0 / 355 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.0208, allocations: 39.92 kB / 355 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007752/0.02157, allocations: 421.2 kB / 355.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.0216, allocations: 15.98 kB / 355.4 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.02303, allocations: 2.91 MB / 358.3 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02303, allocations: 0 / 358.3 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.02392, allocations: 0.7637 MB / 359.1 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.02402, allocations: 75.69 kB / 359.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.02407, allocations: 16 kB / 359.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.02421, allocations: 35.97 kB / 359.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.02429, allocations: 43.86 kB / 359.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.02431, allocations: 12 kB / 359.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.02443, allocations: 213.1 kB / 359.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02443, allocations: 4.031 kB / 359.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.02469, allocations: 92 kB / 359.6 MB, free: 5.309 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.0001748/0.02486, allocations: 131.2 kB / 359.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.02556, allocations: 0.5928 MB / 360.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02556, allocations: 0 / 360.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.02621, allocations: 438.4 kB / 360.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.02638, allocations: 45.03 kB / 360.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.02731, allocations: 0.6031 MB / 361.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.02735, allocations: 93.25 kB / 361.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.02742, allocations: 34.27 kB / 361.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.02747, allocations: 28.5 kB / 361.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02747, allocations: 0 / 361.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of Templates: time 0.007281/0.03475, allocations: 5.858 MB / 367.4 MB, free: 13.42 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: 3.1504331449978054]