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.00137/0.00137, allocations: 88.22 kB / 20.24 MB, free: 4.316 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.001468/0.001468, allocations: 161.7 kB / 23.55 MB, free: 1.008 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.473/1.473, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.04308/0.04308, allocations: 4.484 MB / 264.8 MB, free: 8.586 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.804e-06/1.804e-06, allocations: 0 / 335.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.559e-05, allocations: 5.125 kB / 335.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002207/0.002233, allocations: 1.654 MB / 337.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.003982, allocations: 1.68 MB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.004073, allocations: 4 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.004408, allocations: 135.1 kB / 339.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.004712, allocations: 151 kB / 339.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.006054, allocations: 0.874 MB / 340.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.00638, allocations: 358.6 kB / 340.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.006496, allocations: 48.84 kB / 340.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.00665, allocations: 191.6 kB / 340.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.006791, allocations: 119.7 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.006842, allocations: 28 kB / 341 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.007144, allocations: 243.5 kB / 341.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.007185, allocations: 51.7 kB / 341.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.007285, allocations: 107.7 kB / 341.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.007789, allocations: 0.5375 MB / 341.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.007793, allocations: 4 kB / 341.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.007794, allocations: 0 / 341.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.007799, allocations: 0 / 341.9 MB, free: 7.422 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.003388/0.01119, allocations: 1.007 MB / 342.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.01123, allocations: 8.031 kB / 342.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.01136, allocations: 48.75 kB / 343 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.01166, allocations: 228.8 kB / 343.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.01169, allocations: 20.38 kB / 343.2 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.0118, allocations: 24.56 kB / 343.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.01239, allocations: 0.4978 MB / 343.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.0124, allocations: 4.188 kB / 343.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.01244, allocations: 12.12 kB / 343.7 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.01244, allocations: 4 kB / 343.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.0129, allocations: 305.5 kB / 344 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01402, allocations: 0.6639 MB / 344.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.01478, allocations: 332.2 kB / 345 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.01509, allocations: 190.8 kB / 345.2 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/0.01582, allocations: 0.578 MB / 345.8 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/0.01633, allocations: 0.5158 MB / 346.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.01633, allocations: 0 / 346.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.002693/0.01903, allocations: 0.9496 MB / 347.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.0191, allocations: 217.6 kB / 347.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.01931, allocations: 265.8 kB / 347.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.01934, allocations: 37.7 kB / 347.8 MB, free: 1.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.01942, allocations: 144.9 kB / 347.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.01948, allocations: 99.12 kB / 348 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.01961, allocations: 81.67 kB / 348.1 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.01968, allocations: 346.7 kB / 348.4 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.0199, allocations: 174.1 kB / 348.6 MB, free: 340 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.02021, allocations: 328.1 kB / 348.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003901/0.02411, allocations: 1.029 MB / 349.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.02412, allocations: 0 / 349.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001386/0.0255, allocations: 0.668 MB / 350.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.02557, allocations: 37.7 kB / 350.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.02558, allocations: 4 kB / 350.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.02739, allocations: 413 kB / 351.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.02769, allocations: 75.83 kB / 351.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.03074, allocations: 2.212 MB / 353.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.03123, allocations: 88.56 kB / 353.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.03127, allocations: 16 kB / 353.4 MB, free: 11.16 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.0004021/0.03167, allocations: 224.8 kB / 353.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.03178, allocations: 51.8 kB / 353.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.03384, allocations: 0.7617 MB / 354.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.03385, allocations: 4 kB / 354.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.03385, allocations: 0 / 354.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.03386, allocations: 3.984 kB / 354.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.03433, allocations: 309 kB / 354.8 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.03433, allocations: 0 / 354.8 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.03454, allocations: 35.92 kB / 354.8 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.03649, allocations: 475.5 kB / 355.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.03653, allocations: 12 kB / 355.3 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/0.0397, allocations: 2.333 MB / 357.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.0397, allocations: 0 / 357.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.04225, allocations: 1.036 MB / 358.7 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.04245, allocations: 75.72 kB / 358.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.04253, allocations: 20 kB / 358.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.04293, allocations: 56 kB / 358.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.04308, allocations: 43.88 kB / 358.9 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.04312, allocations: 15.98 kB / 358.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.04337, allocations: 189.2 kB / 359.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04337, allocations: 0 / 359.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00049/0.04386, allocations: 96 kB / 359.1 MB, free: 5.164 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.0002957/0.04416, allocations: 143.7 kB / 359.3 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.0457, allocations: 0.6458 MB / 359.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.04571, allocations: 0 / 359.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.04696, allocations: 443.3 kB / 360.4 MB, free: 3.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.04725, allocations: 40.48 kB / 360.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.04869, allocations: 0.6253 MB / 361 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.04887, allocations: 159.8 kB / 361.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.04899, allocations: 26.28 kB / 361.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.04908, allocations: 28.5 kB / 361.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.04908, allocations: 0 / 361.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of Templates: time 0.01301/0.06209, allocations: 5.816 MB / 367.1 MB, free: 13.18 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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.658004716038704]