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.001413/0.001413, allocations: 72.86 kB / 19.97 MB, free: 1.73 MB / 14.72 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.001457/0.001457, allocations: 171 kB / 23.26 MB, free: 4.855 MB / 14.72 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.505/1.505, allocations: 177.1 MB / 203.6 MB, free: 9.168 MB / 190.1 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.03742/0.03742, allocations: 4.489 MB / 264.5 MB, free: 12.2 MB / 254.1 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.563e-06/1.563e-06, allocations: 0 / 390.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.52e-05, allocations: 2.281 kB / 390.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003022/0.003047, allocations: 1.647 MB / 391.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.005686, allocations: 1.676 MB / 393.4 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.005783, allocations: 4 kB / 393.4 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.006193, allocations: 150.9 kB / 393.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.006579, allocations: 147 kB / 393.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.008457, allocations: 0.8596 MB / 394.6 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.008983, allocations: 362.5 kB / 395 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.009123, allocations: 47.72 kB / 395 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.009373, allocations: 191.6 kB / 395.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.009595, allocations: 127.6 kB / 395.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-05/0.009657, allocations: 28 kB / 395.3 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.01012, allocations: 239.5 kB / 395.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.0102, allocations: 51.77 kB / 395.6 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.01038, allocations: 111.7 kB / 395.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007894/0.01117, allocations: 0.5376 MB / 396.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01117, allocations: 0 / 396.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01117, allocations: 0 / 396.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.01118, allocations: 3.938 kB / 396.3 MB, free: 6.445 MB / 318.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.004121/0.0153, allocations: 1.005 MB / 397.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.01534, allocations: 8.031 kB / 397.3 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.01545, allocations: 40.75 kB / 397.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.01585, allocations: 228.8 kB / 397.5 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.01589, allocations: 20.38 kB / 397.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.016, allocations: 20.56 kB / 397.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/0.01689, allocations: 0.4939 MB / 398.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01691, allocations: 192 / 398.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.01695, allocations: 8.125 kB / 398.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.01695, allocations: 4 kB / 398.1 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.01757, allocations: 321.4 kB / 398.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.01894, allocations: 0.656 MB / 399.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009508/0.01989, allocations: 343.9 kB / 399.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.02029, allocations: 194.5 kB / 399.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.02131, allocations: 0.5547 MB / 400.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007903/0.0221, allocations: 0.5261 MB / 400.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.385e-06/0.0221, allocations: 0 / 400.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003295/0.02539, allocations: 0.934 MB / 401.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.02555, allocations: 233.5 kB / 401.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.02585, allocations: 257.8 kB / 402.1 MB, free: 284 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.0259, allocations: 41.64 kB / 402.1 MB, free: 236 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.02603, allocations: 148.8 kB / 402.3 MB, free: 80 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.02615, allocations: 107.3 kB / 402.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.02629, allocations: 73.69 kB / 402.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.02647, allocations: 346.7 kB / 402.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.02677, allocations: 166.2 kB / 402.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.02721, allocations: 332.6 kB / 403.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003553/0.03076, allocations: 1.044 MB / 404.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.03076, allocations: 0 / 404.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001312/0.03208, allocations: 0.641 MB / 405 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.03212, allocations: 33.7 kB / 405 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.03213, allocations: 7.984 kB / 405 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.0338, allocations: 388.9 kB / 405.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.0341, allocations: 75.77 kB / 405.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.03657, allocations: 2.203 MB / 407.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.03705, allocations: 83.61 kB / 407.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.03709, allocations: 16 kB / 407.8 MB, free: 10.25 MB / 334.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.000334/0.03742, allocations: 224.8 kB / 408 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.0375, allocations: 35.81 kB / 408 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.0395, allocations: 0.7654 MB / 408.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.03951, allocations: 0 / 408.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.03951, allocations: 7.938 kB / 408.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.03952, allocations: 0 / 408.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.03991, allocations: 308.9 kB / 409.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.03992, allocations: 3.938 kB / 409.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.0401, allocations: 35.98 kB / 409.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.04184, allocations: 444.8 kB / 409.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.04188, allocations: 11.98 kB / 409.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.04483, allocations: 2.333 MB / 411.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.04483, allocations: 4.062 kB / 411.9 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.04725, allocations: 1.013 MB / 412.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.04743, allocations: 71.73 kB / 413 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.04751, allocations: 32.05 kB / 413 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.04791, allocations: 51.95 kB / 413.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.04806, allocations: 39.88 kB / 413.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.04809, allocations: 12 kB / 413.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.04833, allocations: 189.2 kB / 413.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04833, allocations: 0 / 413.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.04878, allocations: 92 kB / 413.4 MB, free: 4.324 MB / 334.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.0003023/0.04908, allocations: 147.7 kB / 413.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.05059, allocations: 0.6494 MB / 414.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.0506, allocations: 0 / 414.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009501/0.05155, allocations: 428 kB / 414.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.05181, allocations: 34.69 kB / 414.6 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.05317, allocations: 0.6373 MB / 415.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.05334, allocations: 151.9 kB / 415.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.05346, allocations: 34.22 kB / 415.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.05354, allocations: 28.48 kB / 415.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.05354, allocations: 0 / 415.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of Templates: time 0.01238/0.06592, allocations: 5.767 MB / 421.3 MB, free: 12.4 MB / 350.1 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.814820185303688] Failed to read output from testmodel.py, exit status != 0: 0.07500883936882019 0.09035960300000001 0.075980051 Calling exit ...