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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 109.3 kB / 17.8 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 186.1 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 246.4 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1473/0.1473, allocations: 8.074 MB / 306.7 MB, free: 3.035 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001842/0.001842, allocations: 63.89 kB / 423.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2013, allocations: 51.53 MB / 475.4 MB, free: 22.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.00295/0.2043, allocations: 2.653 MB / 478.1 MB, free: 19.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.206, allocations: 1.364 MB / 479.4 MB, free: 18.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2061, allocations: 7.906 kB / 479.4 MB, free: 18.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.2066, allocations: 259.5 kB / 479.7 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.2069, allocations: 254.1 kB / 479.9 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2084, allocations: 1.033 MB / 481 MB, free: 17.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.2088, allocations: 467 kB / 481.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2089, allocations: 72.83 kB / 481.5 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.2091, allocations: 206.6 kB / 481.7 MB, free: 17.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.2094, allocations: 305.5 kB / 482 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.2095, allocations: 31.88 kB / 482 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.2099, allocations: 321.1 kB / 482.3 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.21, allocations: 147.6 kB / 482.5 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.2102, allocations: 236.6 kB / 482.7 MB, free: 16.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.2108, allocations: 0.7286 MB / 483.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2108, allocations: 0 / 483.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2108, allocations: 0 / 483.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.2108, allocations: 0 / 483.4 MB, free: 16.33 MB / 350.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.003402/0.2142, allocations: 1.387 MB / 484.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2143, allocations: 13.11 kB / 484.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.2144, allocations: 68.33 kB / 484.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.2149, allocations: 473.1 kB / 485.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.2149, allocations: 13.69 kB / 485.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.215, allocations: 25.72 kB / 485.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006138/0.2156, allocations: 413.9 kB / 485.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2156, allocations: 5.219 kB / 485.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.2156, allocations: 11.69 kB / 485.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2157, allocations: 3.406 kB / 485.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.2162, allocations: 338.9 kB / 486.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.2175, allocations: 1.11 MB / 487.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007759/0.2182, allocations: 0.5115 MB / 487.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.2186, allocations: 277.8 kB / 488.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007922/0.2194, allocations: 0.8693 MB / 488.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005059/0.2199, allocations: 488.5 kB / 489.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.2199, allocations: 0 / 489.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003/0.2229, allocations: 1.399 MB / 490.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.223, allocations: 249 kB / 491 MB, free: 10.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/0.2236, allocations: 0.6747 MB / 491.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.2237, allocations: 38.92 kB / 491.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2238, allocations: 266.1 kB / 492 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.2239, allocations: 123.1 kB / 492.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.224, allocations: 87.23 kB / 492.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.2241, allocations: 374.3 kB / 492.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.2243, allocations: 205 kB / 492.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.2246, allocations: 305.1 kB / 493.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.2277, allocations: 1.387 MB / 494.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2277, allocations: 7.938 kB / 494.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001442/0.2292, allocations: 0.9429 MB / 495.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.2292, allocations: 75.33 kB / 495.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2292, allocations: 4 kB / 495.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.2305, allocations: 351.3 kB / 495.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2307, allocations: 71.84 kB / 495.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.2321, allocations: 2.249 MB / 498.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.2325, allocations: 87.7 kB / 498.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.2326, allocations: 20 kB / 498.3 MB, free: 4.727 MB / 350.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.0002875/0.2329, allocations: 323.3 kB / 498.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.2329, allocations: 67.62 kB / 498.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.2348, allocations: 1.181 MB / 499.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2348, allocations: 4 kB / 499.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2348, allocations: 0 / 499.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2348, allocations: 0 / 499.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.2352, allocations: 0.5517 MB / 0.4887 GB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2352, allocations: 0 / 0.4887 GB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.2353, allocations: 31.98 kB / 0.4887 GB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.2366, allocations: 403.1 kB / 0.4891 GB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.2367, allocations: 19.92 kB / 0.4891 GB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.2385, allocations: 2.381 MB / 0.4914 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2386, allocations: 0 / 0.4914 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.2409, allocations: 1.182 MB / 0.4926 GB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.2411, allocations: 196.5 kB / 0.4928 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.2412, allocations: 23.94 kB / 0.4928 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.2416, allocations: 63.88 kB / 0.4928 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.2417, allocations: 35.95 kB / 0.4929 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.2418, allocations: 16 kB / 0.4929 GB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005871/0.2424, allocations: 498.8 kB / 0.4934 GB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.375e-06/0.2424, allocations: 0 / 0.4934 GB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000492/0.2429, allocations: 151.8 kB / 0.4935 GB, free: 13.3 MB / 366.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.0002868/0.2432, allocations: 159.2 kB / 0.4937 GB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.2448, allocations: 0.8809 MB / 0.4945 GB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2448, allocations: 0 / 0.4945 GB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2459, allocations: 0.7044 MB / 0.4952 GB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.2462, allocations: 58.98 kB / 0.4953 GB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2479, allocations: 1.122 MB / 0.4964 GB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.2484, allocations: 0.8795 MB / 0.4972 GB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.2485, allocations: 35.42 kB / 0.4973 GB, free: 9.328 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2485, allocations: 0 / 0.4973 GB, free: 9.328 MB / 366.1 MB Notification: Performance of Templates: time 0.01344/0.2619, allocations: 10.03 MB / 0.507 GB, free: 15.3 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.034463470103219] Failed to read output from testmodel.py, exit status != 0: 0.2690188200213015 0.281210881 0.067964566 Calling exit ...