Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.0007925/0.0007925, allocations: 83.34 kB / 20.47 MB, free: 4.109 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.0009196/0.0009196, allocations: 169.3 kB / 23.84 MB, free: 0.7344 MB / 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 0.9528/0.9528, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.02634/0.02634, allocations: 4.493 MB / 265.2 MB, free: 8.559 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.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 4 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.412e-05, allocations: 2.312 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002753/0.002777, allocations: 3.13 MB / 339.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.004248, allocations: 1.106 MB / 340.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.004411, allocations: 15.94 kB / 340.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.004777, allocations: 166.9 kB / 340.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.005276, allocations: 250.4 kB / 341.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.006407, allocations: 1.214 MB / 342.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.006827, allocations: 0.5212 MB / 342.9 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.006973, allocations: 82.77 kB / 343 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.007172, allocations: 295.3 kB / 343.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.007391, allocations: 191.5 kB / 343.4 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.007438, allocations: 44 kB / 343.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.007832, allocations: 307.5 kB / 343.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.007885, allocations: 87.59 kB / 343.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.007986, allocations: 155.6 kB / 344 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.008507, allocations: 0.6229 MB / 344.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.008509, allocations: 0 / 344.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00851, allocations: 4 kB / 344.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.008517, allocations: 0 / 344.6 MB, free: 5.074 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00223/0.01075, allocations: 1.37 MB / 346 MB, free: 3.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.01079, allocations: 8.031 kB / 346 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.0109, allocations: 72.66 kB / 346.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.01117, allocations: 301.2 kB / 346.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.01122, allocations: 58.92 kB / 346.4 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.01126, allocations: 32.38 kB / 346.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.01168, allocations: 443 kB / 346.9 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.01168, allocations: 4.188 kB / 346.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.01171, allocations: 16.12 kB / 346.9 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.01172, allocations: 4 kB / 346.9 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.01202, allocations: 245.5 kB / 347.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01327, allocations: 1.127 MB / 348.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.01375, allocations: 362.1 kB / 348.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.01393, allocations: 174 kB / 348.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.01403, allocations: 20.25 kB / 348.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.0144, allocations: 0.5345 MB / 349.4 MB, free: 68 kB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 3.447e-06/0.0144, allocations: 0 / 349.4 MB, free: 68 kB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.002823/0.01722, allocations: 1.378 MB / 350.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.0173, allocations: 199.9 kB / 350.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.01753, allocations: 358.2 kB / 351.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.01757, allocations: 41.7 kB / 351.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.01766, allocations: 223.8 kB / 351.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.326e-05/0.01776, allocations: 162.7 kB / 351.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.01789, allocations: 115.8 kB / 351.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.01802, allocations: 0.5157 MB / 352.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.01823, allocations: 190.8 kB / 352.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.01849, allocations: 292.4 kB / 352.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.0192, allocations: 0.649 MB / 353.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.01921, allocations: 7.969 kB / 353.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001852/0.02106, allocations: 1.028 MB / 354.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.02109, allocations: 44.34 kB / 354.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.0211, allocations: 0 / 354.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.02301, allocations: 0.7668 MB / 355.3 MB, free: 9.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.02318, allocations: 71.91 kB / 355.4 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.02423, allocations: 1.297 MB / 356.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.02448, allocations: 71.59 kB / 356.7 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.02451, allocations: 23.98 kB / 356.8 MB, free: 8.379 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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.02476, allocations: 246.2 kB / 357 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.02484, allocations: 63.77 kB / 357.1 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009219/0.02576, allocations: 0.7763 MB / 357.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.02576, allocations: 4 kB / 357.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02577, allocations: 0 / 357.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.02577, allocations: 3.984 kB / 357.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.0261, allocations: 413.2 kB / 358.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.0261, allocations: 4 kB / 358.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.782e-05/0.0262, allocations: 39.92 kB / 358.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.02806, allocations: 0.8223 MB / 359.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.0281, allocations: 15.98 kB / 359.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.02918, allocations: 1.394 MB / 360.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02919, allocations: 0 / 360.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.03001, allocations: 0.7726 MB / 361.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.03018, allocations: 123.5 kB / 361.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.03024, allocations: 27.94 kB / 361.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.03044, allocations: 39.97 kB / 361.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.03054, allocations: 44.42 kB / 361.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.03057, allocations: 27.98 kB / 361.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.03072, allocations: 239 kB / 361.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03072, allocations: 0 / 361.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.03102, allocations: 143.9 kB / 361.9 MB, free: 3.008 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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.03121, allocations: 143.7 kB / 362.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009276/0.03214, allocations: 0.659 MB / 362.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03214, allocations: 0 / 362.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.0327, allocations: 423.1 kB / 363.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.03296, allocations: 61.25 kB / 363.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.03419, allocations: 0.7857 MB / 364 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.879e-05/0.03425, allocations: 110.4 kB / 364.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.114e-05/0.03434, allocations: 39.25 kB / 364.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.03441, allocations: 48.48 kB / 364.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03441, allocations: 0 / 364.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of Templates: time 0.01085/0.04526, allocations: 9.546 MB / 373.7 MB, free: 7.176 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.069412840064615]