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.001577/0.001577, allocations: 109 kB / 19.78 MB, free: 1.82 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.001694/0.001694, allocations: 222.6 kB / 23.08 MB, free: 5.031 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.374/1.374, allocations: 230.6 MB / 256.9 MB, free: 7.77 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.03486/0.03486, allocations: 6.143 MB / 319.4 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.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.001462/0.001462, allocations: 47.92 kB / 445 MB, free: 4.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.09005, allocations: 55.02 MB / 0.4883 GB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002945/0.093, allocations: 1.637 MB / 0.4899 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.09527, allocations: 1.68 MB / 0.4916 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.09536, allocations: 4 kB / 0.4916 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.09573, allocations: 135.3 kB / 0.4917 GB, free: 9.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.09607, allocations: 155.1 kB / 0.4919 GB, free: 9.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.09777, allocations: 0.8737 MB / 0.4927 GB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.09822, allocations: 346.7 kB / 0.493 GB, free: 8.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.09834, allocations: 36.86 kB / 0.4931 GB, free: 8.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.09851, allocations: 143.5 kB / 0.4932 GB, free: 8.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.09872, allocations: 139.4 kB / 0.4933 GB, free: 8.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.09878, allocations: 28 kB / 0.4934 GB, free: 8.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.09919, allocations: 235.8 kB / 0.4936 GB, free: 8.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.09925, allocations: 59.7 kB / 0.4937 GB, free: 7.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.09939, allocations: 119.5 kB / 0.4938 GB, free: 7.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.1001, allocations: 0.51 MB / 0.4943 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1001, allocations: 8 kB / 0.4943 GB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1001, allocations: 0 / 0.4943 GB, free: 7.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1001, allocations: 0 / 0.4943 GB, free: 7.309 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.003792/0.1039, allocations: 0.9976 MB / 0.4952 GB, free: 6.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1039, allocations: 8.031 kB / 0.4953 GB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.104, allocations: 32.75 kB / 0.4953 GB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.1043, allocations: 233.6 kB / 0.4955 GB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1044, allocations: 12.38 kB / 0.4955 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.677e-05/0.1045, allocations: 32.44 kB / 0.4956 GB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.1052, allocations: 0.5011 MB / 0.496 GB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1053, allocations: 0 / 0.496 GB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.1053, allocations: 11.94 kB / 0.4961 GB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1053, allocations: 4 kB / 0.4961 GB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.1059, allocations: 309.5 kB / 0.4964 GB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.1072, allocations: 0.6638 MB / 0.497 GB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.108, allocations: 339.1 kB / 0.4973 GB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.1084, allocations: 194.5 kB / 0.4975 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008999/0.1093, allocations: 0.574 MB / 0.4981 GB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/0.11, allocations: 0.5124 MB / 0.4986 GB, free: 2.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.11, allocations: 0 / 0.4986 GB, free: 2.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002922/0.1129, allocations: 0.9417 MB / 0.4995 GB, free: 1.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.1131, allocations: 225.6 kB / 0.4997 GB, free: 1.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.1134, allocations: 265.8 kB / 0.5 GB, free: 1.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.1134, allocations: 37.7 kB / 0.5 GB, free: 1.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1135, allocations: 140.9 kB / 0.5001 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.877e-05/0.1136, allocations: 111.1 kB / 0.5002 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.1138, allocations: 73.69 kB / 0.5003 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1139, allocations: 346.8 kB / 0.5006 GB, free: 420 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.1142, allocations: 170.1 kB / 0.5008 GB, free: 244 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.1146, allocations: 328 kB / 0.5011 GB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/0.1179, allocations: 1.033 MB / 0.5021 GB, free: 14.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1179, allocations: 3.938 kB / 0.5021 GB, free: 14.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00118/0.1191, allocations: 0.6477 MB / 0.5028 GB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.1191, allocations: 45.62 kB / 0.5028 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.1191, allocations: 4 kB / 0.5028 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.1207, allocations: 389.1 kB / 0.5032 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.1209, allocations: 63.91 kB / 0.5032 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.1232, allocations: 2.211 MB / 0.5054 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.1237, allocations: 79.98 kB / 0.5055 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.1237, allocations: 16 kB / 0.5055 GB, free: 11.12 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.0002991/0.124, allocations: 214.8 kB / 0.5057 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.1241, allocations: 43.78 kB / 0.5057 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.1259, allocations: 0.7569 MB / 0.5065 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1259, allocations: 0 / 0.5065 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1259, allocations: 4 kB / 0.5065 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.1259, allocations: 7.984 kB / 0.5065 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.1263, allocations: 316.9 kB / 0.5068 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1263, allocations: 0 / 0.5068 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1265, allocations: 35.92 kB / 0.5068 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.1281, allocations: 459.9 kB / 0.5073 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.1282, allocations: 8 kB / 0.5073 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.1308, allocations: 2.343 MB / 0.5096 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1308, allocations: 0 / 0.5096 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.133, allocations: 1.013 MB / 0.5105 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.1331, allocations: 75.72 kB / 0.5106 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.1332, allocations: 19.94 kB / 0.5106 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.1336, allocations: 55.94 kB / 0.5107 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1337, allocations: 36.02 kB / 0.5107 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.1337, allocations: 19.98 kB / 0.5107 GB, free: 5.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.1339, allocations: 185.2 kB / 0.5109 GB, free: 5.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1339, allocations: 0 / 0.5109 GB, free: 5.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.1343, allocations: 95.98 kB / 0.511 GB, free: 5.172 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.0002198/0.1345, allocations: 143.7 kB / 0.5111 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.1359, allocations: 0.6416 MB / 0.5118 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1359, allocations: 4.688 kB / 0.5118 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008763/0.1368, allocations: 431.6 kB / 0.5122 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1371, allocations: 36.36 kB / 0.5122 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1383, allocations: 0.6718 MB / 0.5129 GB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.1384, allocations: 151.9 kB / 0.513 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.1385, allocations: 34.27 kB / 0.5131 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.1386, allocations: 28.5 kB / 0.5131 GB, free: 2.914 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1386, allocations: 0 / 0.5131 GB, free: 2.914 MB / 382.1 MB Notification: Performance of Templates: time 0.1677/0.3063, allocations: 5.747 MB / 0.5187 GB, free: 30.49 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 sys.exit(0), Time elapsed: 4.533301400020719] Failed to read output from testmodel.py, exit status != 0: 0.3133846279233694 0.32446755600000005 0.22205311300000002 Calling exit ...