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.001199/0.001199, allocations: 79.94 kB / 20.76 MB, free: 3.73 MB / 18.57 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.00129/0.00129, allocations: 173 kB / 24.18 MB, free: 320 kB / 18.57 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.02/1.02, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.0261/0.0261, allocations: 4.476 MB / 265.6 MB, free: 8.453 MB / 250.7 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 1.452e-06/1.452e-06, allocations: 0 / 283.7 MB, free: 6.289 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.465e-05, allocations: 5.406 kB / 283.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002243/0.002267, allocations: 1.798 MB / 285.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.004224, allocations: 1.75 MB / 287.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.315e-05/0.004317, allocations: 4 kB / 287.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.004658, allocations: 143.1 kB / 287.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.004963, allocations: 146.8 kB / 287.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.005962, allocations: 0.8829 MB / 288.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.006323, allocations: 354.5 kB / 288.8 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.006423, allocations: 46.81 kB / 288.8 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.00659, allocations: 195.6 kB / 289 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.00673, allocations: 115.6 kB / 289.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.006767, allocations: 32 kB / 289.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.007138, allocations: 259.5 kB / 289.4 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.007177, allocations: 51.77 kB / 289.5 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.007254, allocations: 99.77 kB / 289.6 MB, free: 420 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1155/0.1227, allocations: 453 kB / 290 MB, free: 20.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1227, allocations: 0 / 290 MB, free: 20.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1227, allocations: 0 / 290 MB, free: 20.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1227, allocations: 0.5625 kB / 290 MB, free: 20.11 MB / 266.7 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.002076/0.1248, allocations: 1.031 MB / 291 MB, free: 19.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1249, allocations: 10.08 kB / 291.1 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.1249, allocations: 38.08 kB / 291.1 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1251, allocations: 183.3 kB / 291.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1252, allocations: 15.16 kB / 291.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.1252, allocations: 27.41 kB / 291.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.1256, allocations: 398.8 kB / 291.7 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1256, allocations: 3.234 kB / 291.7 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1256, allocations: 6.969 kB / 291.7 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1256, allocations: 8.625 kB / 291.7 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.1258, allocations: 130.8 kB / 291.8 MB, free: 19.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.1264, allocations: 444.2 kB / 292.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.1268, allocations: 287.7 kB / 292.6 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.1269, allocations: 99.62 kB / 292.7 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/0.1274, allocations: 467 kB / 293.1 MB, free: 18.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.1276, allocations: 456.1 kB / 293.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.1276, allocations: 3.328 kB / 293.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.001074/0.1287, allocations: 0.5878 MB / 294.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1288, allocations: 221.6 kB / 294.4 MB, free: 17.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1289, allocations: 240.5 kB / 294.6 MB, free: 17.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1289, allocations: 37.64 kB / 294.6 MB, free: 17.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.129, allocations: 137.7 kB / 294.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.129, allocations: 109.5 kB / 294.9 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.1291, allocations: 82.44 kB / 295 MB, free: 17.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.1292, allocations: 344.6 kB / 295.3 MB, free: 17.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.1292, allocations: 87.88 kB / 295.4 MB, free: 17.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1294, allocations: 242.8 kB / 295.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.1297, allocations: 399.6 kB / 296 MB, free: 16.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1297, allocations: 4.938 kB / 296 MB, free: 16.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004652/0.1302, allocations: 423.1 kB / 296.4 MB, free: 16.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.1302, allocations: 41.83 kB / 296.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1302, allocations: 2.25 kB / 296.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009121/0.1311, allocations: 381.8 kB / 296.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.1313, allocations: 79.03 kB / 296.9 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009207/0.1322, allocations: 1.949 MB / 298.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1324, allocations: 62.84 kB / 298.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1324, allocations: 18.88 kB / 298.9 MB, free: 14.81 MB / 266.7 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.0001852/0.1326, allocations: 202 kB / 299.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.1327, allocations: 45.31 kB / 299.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.1333, allocations: 0.4935 MB / 299.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1333, allocations: 3.469 kB / 299.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1333, allocations: 5.703 kB / 299.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1333, allocations: 6.656 kB / 299.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1335, allocations: 204.4 kB / 299.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1335, allocations: 0 / 299.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1336, allocations: 33.61 kB / 299.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008434/0.1344, allocations: 436.5 kB / 300.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.1345, allocations: 13.66 kB / 300.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009163/0.1354, allocations: 2.028 MB / 302.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1354, allocations: 4.156 kB / 302.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.1361, allocations: 0.6394 MB / 303 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.1362, allocations: 40.72 kB / 303.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.1363, allocations: 25 kB / 303.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1364, allocations: 33.45 kB / 303.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.1365, allocations: 34.16 kB / 303.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1365, allocations: 13.77 kB / 303.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.317e-05/0.1366, allocations: 85.77 kB / 303.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1366, allocations: 1.219 kB / 303.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000296/0.1369, allocations: 99.62 kB / 303.4 MB, free: 12.27 MB / 266.7 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.0001688/0.1371, allocations: 116.9 kB / 303.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005705/0.1376, allocations: 0.4923 MB / 304 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.1376, allocations: 2.594 kB / 304 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.138, allocations: 353.9 kB / 304.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1381, allocations: 38.55 kB / 304.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009231/0.139, allocations: 0.5981 MB / 305 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.291e-05/0.1391, allocations: 94.11 kB / 305.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.87e-05/0.1392, allocations: 28.03 kB / 305.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1393, allocations: 103.3 kB / 305.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1393, allocations: 0 / 305.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of Templates: time 0.007386/0.1467, allocations: 6.299 MB / 311.5 MB, free: 7.605 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.896423948928714]