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.001318/0.001318, allocations: 105 kB / 20.49 MB, free: 1.457 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.001469/0.001469, allocations: 215.5 kB / 23.8 MB, free: 4.652 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.432/1.432, allocations: 230.6 MB / 257.6 MB, free: 8.039 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.03631/0.03631, allocations: 6.139 MB / 320.1 MB, free: 12.97 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.001556/0.001556, allocations: 43.92 kB / 445.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09414, allocations: 55.04 MB / 0.4891 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.004095/0.09823, allocations: 2.662 MB / 0.4917 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.1007, allocations: 1.433 MB / 0.4931 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1009, allocations: 3.938 kB / 0.4931 GB, free: 9.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005674/0.1014, allocations: 259 kB / 0.4933 GB, free: 9.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.1019, allocations: 262.8 kB / 0.4936 GB, free: 9.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.104, allocations: 1.012 MB / 0.4945 GB, free: 8.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006475/0.1046, allocations: 454.5 kB / 0.495 GB, free: 7.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1048, allocations: 48.91 kB / 0.495 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.1051, allocations: 203.3 kB / 0.4952 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.1055, allocations: 323 kB / 0.4955 GB, free: 7.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.1056, allocations: 32 kB / 0.4956 GB, free: 7.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005913/0.1062, allocations: 331.7 kB / 0.4959 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.1063, allocations: 143.5 kB / 0.496 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.1066, allocations: 238.5 kB / 0.4962 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009812/0.1076, allocations: 0.7316 MB / 0.497 GB, free: 5.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1076, allocations: 0 / 0.497 GB, free: 5.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1076, allocations: 0 / 0.497 GB, free: 5.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1076, allocations: 11.94 kB / 0.497 GB, free: 5.637 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.004337/0.1119, allocations: 1.306 MB / 0.4982 GB, free: 4.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1119, allocations: 8.031 kB / 0.4982 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.1121, allocations: 68.52 kB / 0.4983 GB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.1128, allocations: 422.3 kB / 0.4987 GB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1128, allocations: 12.38 kB / 0.4987 GB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.1129, allocations: 32.31 kB / 0.4988 GB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.1137, allocations: 410.2 kB / 0.4991 GB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1137, allocations: 4 kB / 0.4992 GB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.1137, allocations: 12 kB / 0.4992 GB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1137, allocations: 4 kB / 0.4992 GB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.1144, allocations: 348.6 kB / 0.4995 GB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.1162, allocations: 0.9724 MB / 0.5004 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.1171, allocations: 371 kB / 0.5008 GB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.1175, allocations: 232.9 kB / 0.501 GB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.1186, allocations: 0.6878 MB / 0.5017 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007103/0.1193, allocations: 488.5 kB / 0.5022 GB, free: 108 kB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.493e-06/0.1193, allocations: 0 / 0.5022 GB, free: 108 kB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00361/0.123, allocations: 1.207 MB / 0.5033 GB, free: 14.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.1231, allocations: 243.6 kB / 0.5036 GB, free: 14.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008513/0.124, allocations: 0.6826 MB / 0.5042 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.124, allocations: 41.7 kB / 0.5043 GB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.1242, allocations: 252.8 kB / 0.5045 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.1243, allocations: 119.1 kB / 0.5046 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.1245, allocations: 90 kB / 0.5047 GB, free: 13.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1247, allocations: 378.8 kB / 0.5051 GB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.125, allocations: 200.8 kB / 0.5053 GB, free: 12.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.1254, allocations: 306.8 kB / 0.5056 GB, free: 12.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.1293, allocations: 1.394 MB / 0.5069 GB, free: 10.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.1293, allocations: 7.938 kB / 0.5069 GB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001965/0.1312, allocations: 0.9155 MB / 0.5078 GB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/0.1313, allocations: 75.33 kB / 0.5079 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1313, allocations: 4 kB / 0.5079 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.1329, allocations: 356.8 kB / 0.5082 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.1332, allocations: 63.91 kB / 0.5083 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.1355, allocations: 2.165 MB / 0.5104 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.136, allocations: 87.73 kB / 0.5105 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.1361, allocations: 16 kB / 0.5105 GB, free: 7.105 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.0004336/0.1365, allocations: 336.3 kB / 0.5108 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1366, allocations: 67.58 kB / 0.5109 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.139, allocations: 1.004 MB / 0.5119 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.139, allocations: 3.984 kB / 0.5119 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.139, allocations: 0 / 0.5119 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.139, allocations: 4 kB / 0.5119 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.1396, allocations: 0.5235 MB / 0.5124 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1396, allocations: 4 kB / 0.5124 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1398, allocations: 31.92 kB / 0.5124 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.1414, allocations: 406.2 kB / 0.5128 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.1415, allocations: 23.91 kB / 0.5128 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.1441, allocations: 2.273 MB / 0.5151 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1441, allocations: 3.938 kB / 0.5151 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.1465, allocations: 1.01 MB / 0.5161 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.1467, allocations: 123.4 kB / 0.5162 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.1469, allocations: 31.94 kB / 0.5162 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.1473, allocations: 59.88 kB / 0.5163 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1474, allocations: 35.94 kB / 0.5163 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.1475, allocations: 23.98 kB / 0.5163 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006254/0.1481, allocations: 490.8 kB / 0.5168 GB, free: 412 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1481, allocations: 3.938 kB / 0.5168 GB, free: 408 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.1486, allocations: 143.9 kB / 0.5169 GB, free: 264 kB / 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.0002941/0.1489, allocations: 171.1 kB / 0.5171 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1635/0.3124, allocations: 0.7665 MB / 0.5178 GB, free: 31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3124, allocations: 2.656 kB / 0.5178 GB, free: 31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008209/0.3132, allocations: 0.506 MB / 0.5183 GB, free: 30.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3136, allocations: 52.52 kB / 0.5184 GB, free: 30.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3151, allocations: 1.138 MB / 0.5195 GB, free: 30.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3153, allocations: 0.8749 MB / 0.5204 GB, free: 29.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.3154, allocations: 35.73 kB / 0.5204 GB, free: 29.64 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3154, allocations: 0 / 0.5204 GB, free: 29.64 MB / 382.1 MB Notification: Performance of Templates: time 0.01279/0.3282, allocations: 10.03 MB / 0.5302 GB, free: 27.7 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: 8.093413271009922] Failed to read output from testmodel.py, exit status != 0: 0.33548848796635866 0.34689505099999995 0.23704432099999995 Calling exit ...