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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 114.8 kB / 17.85 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 187.7 kB / 20.79 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.2 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04909/0.04909, allocations: 8.228 MB / 312.3 MB, free: 2.031 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001952/0.001952, allocations: 67.89 kB / 435.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2336, allocations: 54.34 MB / 489.5 MB, free: 27.58 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002739/0.2363, allocations: 1.844 MB / 491.3 MB, free: 26.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.238, allocations: 1.697 MB / 493 MB, free: 24.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.2381, allocations: 3.688 kB / 493 MB, free: 24.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.2385, allocations: 149.6 kB / 493.2 MB, free: 24.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.2388, allocations: 144.3 kB / 493.3 MB, free: 24.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.2401, allocations: 0.9592 MB / 494.3 MB, free: 23.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.2405, allocations: 359.9 kB / 494.6 MB, free: 23.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.2406, allocations: 42.06 kB / 494.7 MB, free: 23.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.2407, allocations: 137.2 kB / 494.8 MB, free: 23.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.2409, allocations: 164.5 kB / 495 MB, free: 23.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.241, allocations: 33.91 kB / 495 MB, free: 23.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.2413, allocations: 236.1 kB / 495.2 MB, free: 23.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.2414, allocations: 52.23 kB / 495.3 MB, free: 23.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2415, allocations: 155.7 kB / 495.4 MB, free: 23.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.242, allocations: 0.491 MB / 495.9 MB, free: 22.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.242, allocations: 1.375 kB / 495.9 MB, free: 22.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.242, allocations: 0 / 495.9 MB, free: 22.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.242, allocations: 0 / 495.9 MB, free: 22.82 MB / 366.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.003491/0.2455, allocations: 1.073 MB / 497 MB, free: 22.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2456, allocations: 18.7 kB / 497 MB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.2457, allocations: 32.94 kB / 497.1 MB, free: 22.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.2459, allocations: 293.5 kB / 497.3 MB, free: 21.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.246, allocations: 13.78 kB / 497.4 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.2461, allocations: 28.88 kB / 497.4 MB, free: 21.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.2467, allocations: 341.1 kB / 497.7 MB, free: 21.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2467, allocations: 0 / 497.7 MB, free: 21.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.2467, allocations: 11.22 kB / 497.7 MB, free: 21.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2467, allocations: 7.281 kB / 497.7 MB, free: 21.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.2472, allocations: 267.5 kB / 498 MB, free: 21.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2484, allocations: 0.922 MB / 498.9 MB, free: 20.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.2492, allocations: 390.9 kB / 499.3 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.2495, allocations: 158 kB / 499.4 MB, free: 20.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007295/0.2502, allocations: 0.8146 MB / 0.4885 GB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.2508, allocations: 380.4 kB / 0.4889 GB, free: 19.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.2508, allocations: 0 / 0.4889 GB, free: 19.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002684/0.2534, allocations: 0.9603 MB / 0.4898 GB, free: 18.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.2535, allocations: 218.6 kB / 0.49 GB, free: 18.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.2537, allocations: 266.2 kB / 0.4903 GB, free: 18.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.2537, allocations: 33.8 kB / 0.4903 GB, free: 17.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.2538, allocations: 151.3 kB / 0.4905 GB, free: 17.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.2539, allocations: 101.7 kB / 0.4906 GB, free: 17.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.254, allocations: 86.14 kB / 0.4907 GB, free: 17.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.254, allocations: 342 kB / 0.491 GB, free: 17.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.2543, allocations: 130.5 kB / 0.4911 GB, free: 17.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.2546, allocations: 236.7 kB / 0.4913 GB, free: 17.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.2577, allocations: 1.021 MB / 0.4923 GB, free: 16.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2577, allocations: 1.531 kB / 0.4923 GB, free: 16.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001021/0.2587, allocations: 0.5713 MB / 0.4929 GB, free: 16.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.2587, allocations: 42.25 kB / 0.4929 GB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2587, allocations: 6.281 kB / 0.4929 GB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.2602, allocations: 359.5 kB / 0.4933 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.2604, allocations: 74.17 kB / 0.4934 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.262, allocations: 2.254 MB / 0.4956 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.2624, allocations: 80.5 kB / 0.4956 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.2625, allocations: 18.19 kB / 0.4956 GB, free: 13.66 MB / 366.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.000245/0.2627, allocations: 209 kB / 0.4958 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.2628, allocations: 37.47 kB / 0.4959 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.2649, allocations: 0.6715 MB / 0.4965 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.265, allocations: 2.312 kB / 0.4965 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.265, allocations: 5.094 kB / 0.4965 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.265, allocations: 3.984 kB / 0.4965 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.2653, allocations: 445.4 kB / 0.497 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2653, allocations: 64 / 0.497 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2655, allocations: 33.95 kB / 0.497 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.267, allocations: 414.7 kB / 0.4974 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.267, allocations: 13.08 kB / 0.4974 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.2689, allocations: 2.364 MB / 0.4997 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2689, allocations: 5.062 kB / 0.4997 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.2708, allocations: 0.8869 MB / 0.5006 GB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.271, allocations: 152.1 kB / 0.5007 GB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/0.271, allocations: 18.62 kB / 0.5008 GB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.2714, allocations: 56.19 kB / 0.5008 GB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2715, allocations: 32.44 kB / 0.5008 GB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.2716, allocations: 17.67 kB / 0.5009 GB, free: 9.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.2717, allocations: 190 kB / 0.501 GB, free: 9.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2717, allocations: 0 / 0.501 GB, free: 9.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.2721, allocations: 100.2 kB / 0.5011 GB, free: 9.312 MB / 366.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.0001926/0.2723, allocations: 146.1 kB / 0.5013 GB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.2735, allocations: 0.5575 MB / 0.5018 GB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2735, allocations: 5.312 kB / 0.5018 GB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007755/0.2743, allocations: 391 kB / 0.5022 GB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.2745, allocations: 40.17 kB / 0.5022 GB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.2755, allocations: 0.6389 MB / 0.5029 GB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.2757, allocations: 0.755 MB / 0.5036 GB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.2758, allocations: 36.92 kB / 0.5036 GB, free: 7.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2758, allocations: 0 / 0.5036 GB, free: 7.32 MB / 366.1 MB Notification: Performance of Templates: time 0.007642/0.2834, allocations: 6.247 MB / 0.5097 GB, free: 2.777 MB / 366.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 os._exit(0), Time elapsed: 7.486092260107398] Failed to read output from testmodel.py, exit status != 0: 0.2909571479540318 0.30426620000000004 0.05921931800000001 Calling exit ...