Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.001502/0.001502, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.001655/0.001655, allocations: 208.8 kB / 23.78 MB, free: 4.414 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.358/1.358, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.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.03781/0.03781, allocations: 6.138 MB / 320.1 MB, free: 12.79 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.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 48.02 kB / 445.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09656, allocations: 55.03 MB / 0.489 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003704/0.1003, allocations: 2.484 MB / 0.4914 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1024, allocations: 1.312 MB / 0.4927 GB, free: 9.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.1025, allocations: 4 kB / 0.4927 GB, free: 9.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.103, allocations: 247 kB / 0.4929 GB, free: 9.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.1035, allocations: 266.8 kB / 0.4932 GB, free: 9.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.1053, allocations: 0.9362 MB / 0.4941 GB, free: 8.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.1059, allocations: 450.5 kB / 0.4945 GB, free: 7.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1061, allocations: 36.92 kB / 0.4946 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1063, allocations: 211.3 kB / 0.4948 GB, free: 7.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.1067, allocations: 299 kB / 0.495 GB, free: 7.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.1067, allocations: 32 kB / 0.4951 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004967/0.1072, allocations: 315.7 kB / 0.4954 GB, free: 6.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1074, allocations: 143.5 kB / 0.4955 GB, free: 6.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.1076, allocations: 186.9 kB / 0.4957 GB, free: 6.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008535/0.1085, allocations: 0.7433 MB / 0.4964 GB, free: 5.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1085, allocations: 0 / 0.4964 GB, free: 5.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1085, allocations: 0 / 0.4964 GB, free: 5.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1085, allocations: 0 / 0.4964 GB, free: 5.859 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003958/0.1125, allocations: 1.313 MB / 0.4977 GB, free: 4.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1125, allocations: 8.031 kB / 0.4977 GB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.1126, allocations: 72.5 kB / 0.4978 GB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.1133, allocations: 422.4 kB / 0.4982 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1134, allocations: 20.38 kB / 0.4982 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.1134, allocations: 20.38 kB / 0.4982 GB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/0.1143, allocations: 0.5958 MB / 0.4988 GB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1143, allocations: 0 / 0.4988 GB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.1143, allocations: 8 kB / 0.4988 GB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1143, allocations: 4 kB / 0.4988 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.115, allocations: 420 kB / 0.4992 GB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.1166, allocations: 0.8287 MB / 0.5 GB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.1175, allocations: 449 kB / 0.5004 GB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.1179, allocations: 288.4 kB / 0.5007 GB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.1189, allocations: 0.5943 MB / 0.5013 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007765/0.1197, allocations: 0.655 MB / 0.5019 GB, free: 15.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.654e-06/0.1197, allocations: 0 / 0.5019 GB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.003377/0.1231, allocations: 1.391 MB / 0.5033 GB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.1233, allocations: 259.5 kB / 0.5035 GB, free: 14.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/0.124, allocations: 0.6787 MB / 0.5042 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.1241, allocations: 37.64 kB / 0.5042 GB, free: 13.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.1243, allocations: 260.8 kB / 0.5045 GB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1244, allocations: 126.9 kB / 0.5046 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1245, allocations: 90.05 kB / 0.5047 GB, free: 12.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1247, allocations: 374.8 kB / 0.5051 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.1251, allocations: 268.2 kB / 0.5053 GB, free: 12.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.1255, allocations: 421.6 kB / 0.5057 GB, free: 11.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.1289, allocations: 1.422 MB / 0.5071 GB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1289, allocations: 0 / 0.5071 GB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001847/0.1308, allocations: 1.03 MB / 0.5081 GB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.1308, allocations: 67.39 kB / 0.5082 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1308, allocations: 4 kB / 0.5082 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.1323, allocations: 396.9 kB / 0.5086 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.1325, allocations: 63.91 kB / 0.5086 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.1347, allocations: 2.212 MB / 0.5108 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.1352, allocations: 83.89 kB / 0.5109 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.1352, allocations: 20 kB / 0.5109 GB, free: 6.203 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($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,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0004163/0.1356, allocations: 329.3 kB / 0.5112 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.1357, allocations: 71.58 kB / 0.5113 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.1381, allocations: 1.13 MB / 0.5124 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1381, allocations: 4 kB / 0.5124 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1381, allocations: 3.938 kB / 0.5124 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1381, allocations: 0 / 0.5124 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.1385, allocations: 420.8 kB / 0.5128 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1385, allocations: 0 / 0.5128 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.1387, allocations: 35.92 kB / 0.5128 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/0.1402, allocations: 451.6 kB / 0.5132 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.1402, allocations: 19.98 kB / 0.5133 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.1427, allocations: 2.325 MB / 0.5155 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1427, allocations: 4.031 kB / 0.5155 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.19/0.3327, allocations: 1.138 MB / 0.5166 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.3331, allocations: 119.6 kB / 0.5168 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.3332, allocations: 26.91 kB / 0.5168 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.3336, allocations: 56.09 kB / 0.5168 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.3337, allocations: 37.22 kB / 0.5169 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.3337, allocations: 23.03 kB / 0.5169 GB, free: 30.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005098/0.3342, allocations: 495.7 kB / 0.5174 GB, free: 30.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3342, allocations: 0 / 0.5174 GB, free: 30.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.3347, allocations: 144.2 kB / 0.5175 GB, free: 30.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0002718/0.335, allocations: 160 kB / 0.5177 GB, free: 30.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.3363, allocations: 0.916 MB / 0.5185 GB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3363, allocations: 6.328 kB / 0.5186 GB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.3371, allocations: 0.5838 MB / 0.5191 GB, free: 30.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.3375, allocations: 49.03 kB / 0.5192 GB, free: 30 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.339, allocations: 1.208 MB / 0.5203 GB, free: 29.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3392, allocations: 274.2 kB / 0.5206 GB, free: 29.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.3393, allocations: 33.39 kB / 0.5206 GB, free: 29.42 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3393, allocations: 0 / 0.5206 GB, free: 29.42 MB / 382.1 MB Notification: Performance of Templates: time 0.0152/0.3545, allocations: 10.26 MB / 0.5307 GB, free: 27.22 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3578645419329405] Failed to read output from testmodel.py, exit status != 0: 0.362037715036422 0.37336376600000004 0.262748387 Calling exit ...