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.0009885/0.0009885, allocations: 84.22 kB / 20.98 MB, free: 3.566 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.001087/0.001087, allocations: 165 kB / 24.29 MB, free: 272 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.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.03702/0.03702, allocations: 4.489 MB / 265.6 MB, free: 8.629 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 2.244e-06/2.244e-06, allocations: 0 / 336.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.686e-05, allocations: 2.312 kB / 336.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003947/0.003984, allocations: 2.633 MB / 339.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.0064, allocations: 1.355 MB / 340.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.006599, allocations: 4 kB / 340.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.007251, allocations: 250.8 kB / 340.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005928/0.007843, allocations: 266.7 kB / 341 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.009648, allocations: 0.957 MB / 341.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.01031, allocations: 458.3 kB / 342.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.01048, allocations: 52.89 kB / 342.4 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.01083, allocations: 271.4 kB / 342.7 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.01122, allocations: 271.5 kB / 343 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.01129, allocations: 32 kB / 343 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005963/0.01188, allocations: 315.4 kB / 343.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.01201, allocations: 151.5 kB / 343.5 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.01225, allocations: 155.5 kB / 343.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.01315, allocations: 0.6541 MB / 344.3 MB, free: 5.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01315, allocations: 0 / 344.3 MB, free: 5.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01315, allocations: 0 / 344.3 MB, free: 5.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.01317, allocations: 0 / 344.3 MB, free: 5.785 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.003699/0.01687, allocations: 1.433 MB / 345.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.01692, allocations: 15.97 kB / 345.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.01712, allocations: 80.52 kB / 345.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.01768, allocations: 368.6 kB / 346.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.01771, allocations: 16.38 kB / 346.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.01776, allocations: 32.31 kB / 346.2 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.01838, allocations: 461.3 kB / 346.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.01839, allocations: 192 / 346.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.01843, allocations: 11.94 kB / 346.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.01844, allocations: 4 kB / 346.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.01882, allocations: 208.3 kB / 346.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.02025, allocations: 0.8204 MB / 347.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.02096, allocations: 317 kB / 348 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.02118, allocations: 163.3 kB / 348.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/0.02199, allocations: 0.6288 MB / 348.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/0.02243, allocations: 0.5401 MB / 349.3 MB, free: 396 kB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.02243, allocations: 0 / 349.3 MB, free: 396 kB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002545/0.02497, allocations: 0.9558 MB / 350.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.0251, allocations: 247.3 kB / 350.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007864/0.02589, allocations: 0.6275 MB / 351.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.02594, allocations: 37.7 kB / 351.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.0262, allocations: 323.5 kB / 351.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.02632, allocations: 119 kB / 351.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.02649, allocations: 99.7 kB / 351.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.02672, allocations: 0.5665 MB / 352.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.02698, allocations: 152.2 kB / 352.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.02734, allocations: 342.4 kB / 352.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.02812, allocations: 0.5859 MB / 353.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.02812, allocations: 0 / 353.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001504/0.02963, allocations: 0.7439 MB / 354.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.02969, allocations: 78.3 kB / 354.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.0297, allocations: 4 kB / 354.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.03092, allocations: 374.2 kB / 354.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.03114, allocations: 63.91 kB / 354.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.03322, allocations: 2.829 MB / 357.4 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.03357, allocations: 63.7 kB / 357.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.03362, allocations: 24.17 kB / 357.5 MB, free: 7.605 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.0003281/0.03394, allocations: 288.1 kB / 357.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.03407, allocations: 87.58 kB / 357.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.03568, allocations: 0.7997 MB / 358.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.03569, allocations: 0 / 358.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.03569, allocations: 4 kB / 358.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.0357, allocations: 7.984 kB / 358.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.0362, allocations: 424.2 kB / 359.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.03621, allocations: 0 / 359.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.03634, allocations: 35.92 kB / 359.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.03763, allocations: 414.3 kB / 359.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.03768, allocations: 16 kB / 359.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.03997, allocations: 2.915 MB / 362.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.03997, allocations: 4 kB / 362.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.04157, allocations: 0.8437 MB / 363.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.04185, allocations: 127.4 kB / 363.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.04196, allocations: 31.89 kB / 363.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.04224, allocations: 35.97 kB / 363.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.04237, allocations: 39.94 kB / 363.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.04241, allocations: 19.98 kB / 363.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000498/0.04291, allocations: 394.7 kB / 364 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04291, allocations: 0 / 364 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005627/0.04348, allocations: 139.9 kB / 364.1 MB, free: 0.6641 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.0003381/0.04381, allocations: 171.1 kB / 364.3 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.04502, allocations: 0.7542 MB / 365 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.04503, allocations: 0 / 365 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006828/0.04571, allocations: 0.5425 MB / 365.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.04611, allocations: 74.86 kB / 365.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.04797, allocations: 0.9666 MB / 366.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.04809, allocations: 142.1 kB / 366.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.04822, allocations: 43.25 kB / 366.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.04832, allocations: 40.48 kB / 366.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of SimCode: time 1.173e-06/0.04832, allocations: 0 / 366.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of Templates: time 0.04379/0.0921, allocations: 7.87 MB / 374.7 MB, free: 5.945 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.2313013710081577]