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.001562/0.001562, 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.001744/0.001744, allocations: 217.8 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.428/1.428, allocations: 230.6 MB / 257.6 MB, free: 8.008 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.03498/0.03498, allocations: 6.149 MB / 320.1 MB, free: 12.95 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 0.001461/0.001461, allocations: 39.94 kB / 445.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08977, allocations: 55.02 MB / 0.489 GB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002994/0.09277, allocations: 1.827 MB / 0.4908 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.09511, allocations: 1.762 MB / 0.4925 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.0952, allocations: 4 kB / 0.4926 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.09559, allocations: 135.3 kB / 0.4927 GB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.09593, allocations: 143.1 kB / 0.4928 GB, free: 9.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.09765, allocations: 0.948 MB / 0.4937 GB, free: 8.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.09809, allocations: 350.7 kB / 0.4941 GB, free: 8.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.09822, allocations: 48.86 kB / 0.4941 GB, free: 8.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.09837, allocations: 139.5 kB / 0.4943 GB, free: 8.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.09858, allocations: 155.4 kB / 0.4944 GB, free: 8.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.09863, allocations: 32 kB / 0.4944 GB, free: 8.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.09904, allocations: 251.8 kB / 0.4947 GB, free: 7.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.0991, allocations: 55.7 kB / 0.4947 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.09925, allocations: 151.3 kB / 0.4949 GB, free: 7.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.09987, allocations: 0.5022 MB / 0.4954 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09988, allocations: 0 / 0.4954 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.09988, allocations: 4 kB / 0.4954 GB, free: 7.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.09989, allocations: 0 / 0.4954 GB, free: 7.238 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.003898/0.1038, allocations: 1.005 MB / 0.4963 GB, free: 6.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1038, allocations: 12.03 kB / 0.4964 GB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.1039, allocations: 32.75 kB / 0.4964 GB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1043, allocations: 229.1 kB / 0.4966 GB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1043, allocations: 20.31 kB / 0.4966 GB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/0.1044, allocations: 20.56 kB / 0.4966 GB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.105, allocations: 343 kB / 0.497 GB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.105, allocations: 4 kB / 0.497 GB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.1051, allocations: 8 kB / 0.497 GB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1051, allocations: 7.984 kB / 0.497 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.1056, allocations: 267.9 kB / 0.4973 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.107, allocations: 0.8075 MB / 0.498 GB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008471/0.1079, allocations: 298.5 kB / 0.4983 GB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.1082, allocations: 152.8 kB / 0.4985 GB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/0.1092, allocations: 0.648 MB / 0.4991 GB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/0.1098, allocations: 379.7 kB / 0.4995 GB, free: 2.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.1098, allocations: 3.938 kB / 0.4995 GB, free: 2.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002879/0.1126, allocations: 0.8211 MB / 0.5003 GB, free: 2.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.1128, allocations: 221.6 kB / 0.5005 GB, free: 1.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.1131, allocations: 257.9 kB / 0.5007 GB, free: 1.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.1131, allocations: 33.7 kB / 0.5008 GB, free: 1.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1132, allocations: 148.8 kB / 0.5009 GB, free: 1.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.427e-05/0.1133, allocations: 107.2 kB / 0.501 GB, free: 1.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1134, allocations: 77.67 kB / 0.5011 GB, free: 1.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1136, allocations: 334.8 kB / 0.5014 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.1138, allocations: 136.4 kB / 0.5015 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.1141, allocations: 242.5 kB / 0.5018 GB, free: 368 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003447/0.1176, allocations: 1.033 MB / 0.5028 GB, free: 15.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1176, allocations: 0 / 0.5028 GB, free: 15.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001145/0.1187, allocations: 0.5818 MB / 0.5033 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.1188, allocations: 37.69 kB / 0.5034 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1188, allocations: 7.984 kB / 0.5034 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.1204, allocations: 359.5 kB / 0.5037 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.1207, allocations: 67.89 kB / 0.5038 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.1229, allocations: 2.157 MB / 0.5059 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.1233, allocations: 83.83 kB / 0.506 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.1233, allocations: 16 kB / 0.506 GB, free: 11.78 MB / 382.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.0002908/0.1236, allocations: 216.7 kB / 0.5062 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.1237, allocations: 35.75 kB / 0.5062 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.1255, allocations: 0.6725 MB / 0.5069 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1255, allocations: 4 kB / 0.5069 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1255, allocations: 3.938 kB / 0.5069 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1255, allocations: 3.984 kB / 0.5069 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.1259, allocations: 408.3 kB / 0.5073 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1259, allocations: 0 / 0.5073 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.1261, allocations: 39.92 kB / 0.5073 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.1278, allocations: 414.4 kB / 0.5077 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.1278, allocations: 16.05 kB / 0.5077 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.1303, allocations: 2.273 MB / 0.51 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1303, allocations: 32 / 0.51 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.1324, allocations: 0.8865 MB / 0.5108 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.1326, allocations: 75.8 kB / 0.5109 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.1326, allocations: 16 kB / 0.5109 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.133, allocations: 58 kB / 0.511 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.1331, allocations: 43.88 kB / 0.511 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.1332, allocations: 16 kB / 0.511 GB, free: 6.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.1334, allocations: 189.2 kB / 0.5112 GB, free: 6.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1334, allocations: 4 kB / 0.5112 GB, free: 6.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.1338, allocations: 91.94 kB / 0.5113 GB, free: 6.09 MB / 382.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.0002144/0.134, allocations: 143.7 kB / 0.5114 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.1353, allocations: 0.5642 MB / 0.512 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1353, allocations: 4 kB / 0.512 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008241/0.1361, allocations: 382.6 kB / 0.5123 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1363, allocations: 40.3 kB / 0.5124 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1376, allocations: 0.6603 MB / 0.513 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1379, allocations: 0.7605 MB / 0.5138 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.138, allocations: 23.44 kB / 0.5138 GB, free: 3.402 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.138, allocations: 0 / 0.5138 GB, free: 3.402 MB / 382.1 MB Notification: Performance of Templates: time 0.1751/0.3131, allocations: 6.214 MB / 0.5199 GB, free: 30.19 MB / 382.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.522523210151121] Failed to read output from testmodel.py, exit status != 0: 0.32011287310160697 0.332246205 0.229807957 Calling exit ...