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.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.001233/0.001233, allocations: 115.2 kB / 17.8 MB, free: 5.121 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.001291/0.001291, allocations: 183.8 kB / 20.74 MB, free: 2.191 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.333/1.333, allocations: 222.9 MB / 246.4 MB, free: 4.207 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.1482/0.1482, allocations: 8.083 MB / 306.7 MB, free: 2.648 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.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.001841/0.001842, allocations: 67.89 kB / 423.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2061, allocations: 51.53 MB / 475.4 MB, free: 22.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002455/0.2085, allocations: 1.823 MB / 477.2 MB, free: 20.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.2105, allocations: 1.696 MB / 478.9 MB, free: 19.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.2107, allocations: 2.344 kB / 478.9 MB, free: 19.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.2112, allocations: 142 kB / 479.1 MB, free: 19.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.2116, allocations: 143 kB / 479.2 MB, free: 19.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.2131, allocations: 0.9438 MB / 480.1 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.2136, allocations: 377.8 kB / 480.5 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.2137, allocations: 70.56 kB / 480.6 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.2139, allocations: 135.9 kB / 480.7 MB, free: 18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2141, allocations: 157 kB / 480.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.2142, allocations: 29.16 kB / 480.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004365/0.2146, allocations: 236.7 kB / 481.1 MB, free: 17.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.2147, allocations: 60.8 kB / 481.2 MB, free: 17.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.2149, allocations: 158.8 kB / 481.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.2155, allocations: 498.4 kB / 481.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2155, allocations: 0 / 481.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2155, allocations: 1.312 kB / 481.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.2155, allocations: 0 / 481.8 MB, free: 17.3 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003439/0.219, allocations: 1.069 MB / 482.9 MB, free: 16.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.219, allocations: 12.7 kB / 482.9 MB, free: 16.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.2191, allocations: 38.7 kB / 483 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.2194, allocations: 301.6 kB / 483.2 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.2194, allocations: 12.5 kB / 483.3 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.2195, allocations: 24.94 kB / 483.3 MB, free: 16.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.2201, allocations: 340 kB / 483.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2201, allocations: 0 / 483.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.2202, allocations: 7.562 kB / 483.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2202, allocations: 3.25 kB / 483.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.2207, allocations: 271.4 kB / 483.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.2219, allocations: 0.93 MB / 484.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.2226, allocations: 441.7 kB / 485.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.223, allocations: 206.5 kB / 485.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/0.2237, allocations: 0.8121 MB / 486.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/0.2243, allocations: 378.1 kB / 486.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.504e-06/0.2243, allocations: 4 kB / 486.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002484/0.2268, allocations: 1.026 MB / 487.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.2268, allocations: 221.4 kB / 487.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.2271, allocations: 259.8 kB / 488.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.2271, allocations: 37.95 kB / 488.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.2272, allocations: 151.3 kB / 488.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.2272, allocations: 101.1 kB / 488.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2274, allocations: 90.34 kB / 488.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.2274, allocations: 337.6 kB / 488.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.2276, allocations: 131.6 kB / 489 MB, free: 11.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.2279, allocations: 239.5 kB / 489.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.2307, allocations: 1.025 MB / 490.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2307, allocations: 0 / 490.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000942/0.2317, allocations: 0.5948 MB / 490.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.2317, allocations: 39.08 kB / 490.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2317, allocations: 3.156 kB / 490.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.2331, allocations: 359.7 kB / 491.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.2333, allocations: 64.84 kB / 491.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.2348, allocations: 2.266 MB / 493.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.2353, allocations: 80.75 kB / 493.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.2353, allocations: 25.14 kB / 493.6 MB, free: 8.012 MB / 350.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.0002423/0.2356, allocations: 204.3 kB / 493.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.2356, allocations: 37.53 kB / 493.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.2372, allocations: 0.8273 MB / 494.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2372, allocations: 7.25 kB / 494.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2372, allocations: 3.938 kB / 494.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2372, allocations: 4.844 kB / 494.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.2376, allocations: 440.6 kB / 495.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2376, allocations: 1.094 kB / 495.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.2377, allocations: 35.42 kB / 495.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/0.2391, allocations: 398 kB / 495.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.2392, allocations: 13.73 kB / 495.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.2409, allocations: 2.379 MB / 498 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2409, allocations: 8.844 kB / 498 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.2427, allocations: 1.049 MB / 499 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.2429, allocations: 152.8 kB / 499.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.2429, allocations: 16 kB / 499.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.2433, allocations: 60 kB / 499.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2434, allocations: 39.94 kB / 499.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.2434, allocations: 12 kB / 499.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.2436, allocations: 190 kB / 499.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2436, allocations: 0 / 499.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003915/0.244, allocations: 96 kB / 499.6 MB, free: 3.133 MB / 350.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.0001885/0.2442, allocations: 147.1 kB / 499.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.2452, allocations: 0.6387 MB / 0.4886 GB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2453, allocations: 0 / 0.4886 GB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007051/0.246, allocations: 0.5526 MB / 0.4892 GB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.2462, allocations: 40.36 kB / 0.4892 GB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.2471, allocations: 0.6447 MB / 0.4898 GB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2472, allocations: 0.7605 MB / 0.4906 GB, free: 244 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.2473, allocations: 31.44 kB / 0.4906 GB, free: 212 kB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2473, allocations: 0 / 0.4906 GB, free: 212 kB / 350.1 MB Notification: Performance of Templates: time 0.009152/0.2564, allocations: 6.217 MB / 0.4967 GB, free: 9.984 MB / 366.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: 6.89571997593157] Failed to read output from testmodel.py, exit status != 0: 0.2634430469479412 0.27687091299999994 0.058777300000000005 Calling exit ...