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.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.001426/0.001426, allocations: 81.08 kB / 20.69 MB, free: 3.797 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.001599/0.001599, allocations: 169.7 kB / 24.09 MB, free: 408 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.02532/0.02532, allocations: 4.481 MB / 265.6 MB, free: 8.422 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.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 1.813e-06/1.813e-06, allocations: 0 / 336.9 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.878e-05, allocations: 2.312 kB / 336.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003676/0.003704, allocations: 2.613 MB / 339.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.005946, allocations: 1.347 MB / 340.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.006129, allocations: 4 kB / 340.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.006757, allocations: 254.8 kB / 341.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.00732, allocations: 270.6 kB / 341.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.009129, allocations: 0.9298 MB / 342.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.009731, allocations: 462.3 kB / 342.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.009885, allocations: 48.84 kB / 342.8 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.01027, allocations: 267.4 kB / 343.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.01065, allocations: 275.5 kB / 343.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.01071, allocations: 35.94 kB / 343.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005796/0.01129, allocations: 307.5 kB / 343.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.01142, allocations: 147.5 kB / 343.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.01157, allocations: 151.5 kB / 344 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.01236, allocations: 0.6541 MB / 344.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01237, allocations: 0 / 344.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01237, allocations: 0 / 344.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.01238, allocations: 0 / 344.7 MB, free: 5.246 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003161/0.01554, allocations: 1.44 MB / 346.1 MB, free: 3.754 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.01559, allocations: 12.02 kB / 346.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.01573, allocations: 88.52 kB / 346.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.01612, allocations: 348.5 kB / 346.5 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.01615, allocations: 16.38 kB / 346.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.0162, allocations: 24.38 kB / 346.6 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.01664, allocations: 445.2 kB / 347 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01666, allocations: 192 / 347 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.01669, allocations: 19.94 kB / 347 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.0167, allocations: 7.984 kB / 347 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.01694, allocations: 180.7 kB / 347.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.01804, allocations: 0.7156 MB / 347.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.01858, allocations: 296.9 kB / 348.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.01874, allocations: 151.3 kB / 348.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/0.01951, allocations: 0.6288 MB / 349 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.01987, allocations: 0.5167 MB / 349.5 MB, free: 64 kB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.465e-06/0.01987, allocations: 0 / 349.5 MB, free: 64 kB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002248/0.02212, allocations: 0.9089 MB / 350.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.02223, allocations: 251.3 kB / 350.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.02283, allocations: 0.6076 MB / 351.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.02287, allocations: 33.7 kB / 351.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.02311, allocations: 323.5 kB / 351.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.02321, allocations: 127 kB / 351.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.02337, allocations: 99.66 kB / 351.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.0236, allocations: 0.5742 MB / 352.4 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.02377, allocations: 132.2 kB / 352.6 MB, free: 12.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.02407, allocations: 334.3 kB / 352.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/0.02469, allocations: 0.5351 MB / 353.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.0247, allocations: 4 kB / 353.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001314/0.02601, allocations: 0.7048 MB / 354.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.02608, allocations: 74.36 kB / 354.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.02609, allocations: 4 kB / 354.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.02731, allocations: 366.6 kB / 354.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.02752, allocations: 71.84 kB / 354.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.02941, allocations: 2.787 MB / 357.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.02976, allocations: 67.64 kB / 357.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.0298, allocations: 15.98 kB / 357.5 MB, free: 7.504 MB / 282.7 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.0003652/0.03017, allocations: 281.8 kB / 357.8 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.0303, allocations: 83.58 kB / 357.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.03175, allocations: 0.7645 MB / 358.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.03176, allocations: 0 / 358.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.03176, allocations: 4 kB / 358.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.03177, allocations: 3.938 kB / 358.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.03219, allocations: 336.9 kB / 359 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.0322, allocations: 8.062 kB / 359 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.03232, allocations: 27.92 kB / 359 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.0335, allocations: 414.3 kB / 359.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.03354, allocations: 15.98 kB / 359.4 MB, free: 5.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.03553, allocations: 2.877 MB / 362.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03553, allocations: 0 / 362.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.03701, allocations: 0.8046 MB / 363.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.03723, allocations: 111.5 kB / 363.2 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.03732, allocations: 31.89 kB / 363.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.03758, allocations: 39.91 kB / 363.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.03771, allocations: 35.94 kB / 363.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.03776, allocations: 16 kB / 363.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003756/0.03814, allocations: 370.6 kB / 363.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.03814, allocations: 0 / 363.7 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000525/0.03866, allocations: 135.9 kB / 363.8 MB, free: 0.8359 MB / 282.7 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.0002967/0.03896, allocations: 175.1 kB / 364 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.04, allocations: 0.7164 MB / 364.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.04, allocations: 4.062 kB / 364.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.04068, allocations: 0.5307 MB / 365.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.04103, allocations: 66.88 kB / 365.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.04271, allocations: 0.9468 MB / 366.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.04283, allocations: 146 kB / 366.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.04297, allocations: 51.25 kB / 366.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.04321, allocations: 150.2 kB / 366.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04321, allocations: 0 / 366.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of Templates: time 0.01569/0.05889, allocations: 8.417 MB / 375 MB, free: 5.555 MB / 298.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.030564601998776]