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.001087/0.001087, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.001497/0.001497, allocations: 169 kB / 23.84 MB, free: 0.7305 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.9875/0.9875, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.02965/0.02965, allocations: 4.486 MB / 265.2 MB, free: 8.562 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 1.593e-06/1.593e-06, allocations: 0 / 336.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.109e-05, allocations: 6.25 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002546/0.002567, allocations: 3.134 MB / 339.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.00384, allocations: 1.109 MB / 340.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.00395, allocations: 4 kB / 340.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.004274, allocations: 178.8 kB / 340.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.004671, allocations: 250.4 kB / 341.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.0057, allocations: 1.214 MB / 342.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.006093, allocations: 0.5173 MB / 342.9 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.006221, allocations: 82.77 kB / 343 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.006401, allocations: 291.3 kB / 343.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.006591, allocations: 195.4 kB / 343.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.006633, allocations: 44 kB / 343.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.006971, allocations: 311.5 kB / 343.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.00702, allocations: 91.59 kB / 343.9 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.007118, allocations: 155.6 kB / 344 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.00758, allocations: 0.619 MB / 344.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.007583, allocations: 4 kB / 344.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007583, allocations: 0 / 344.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.007589, 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.00219/0.009778, allocations: 1.37 MB / 346 MB, free: 3.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.00981, allocations: 8.031 kB / 346 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.009917, allocations: 72.66 kB / 346.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.01018, allocations: 301.2 kB / 346.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.01023, allocations: 58.86 kB / 346.4 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.01027, allocations: 36.38 kB / 346.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.01068, allocations: 443 kB / 346.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.01069, allocations: 4.172 kB / 346.9 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.01072, allocations: 20.12 kB / 346.9 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.01072, allocations: 4 kB / 346.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.01101, allocations: 241.5 kB / 347.2 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.01224, allocations: 1.131 MB / 348.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.01271, allocations: 354.1 kB / 348.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.01289, allocations: 174 kB / 348.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.2e-05/0.01298, allocations: 16.33 kB / 348.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.01332, allocations: 0.5471 MB / 349.4 MB, free: 60 kB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.493e-06/0.01332, allocations: 0 / 349.4 MB, free: 60 kB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.002792/0.01612, allocations: 1.378 MB / 350.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.01619, allocations: 195.9 kB / 351 MB, free: 14.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.01643, allocations: 350.2 kB / 351.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.01647, allocations: 49.69 kB / 351.3 MB, free: 14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.01657, allocations: 219.8 kB / 351.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.01666, allocations: 162.6 kB / 351.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.01678, allocations: 119.8 kB / 351.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01691, allocations: 0.5196 MB / 352.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.01713, allocations: 194.8 kB / 352.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.01738, allocations: 284.5 kB / 352.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.01804, allocations: 0.6451 MB / 353.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01805, allocations: 3.938 kB / 353.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001614/0.01966, allocations: 1.036 MB / 354.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.01969, allocations: 33.7 kB / 354.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01969, allocations: 0 / 354.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.0219, allocations: 0.7746 MB / 355.3 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.02211, allocations: 75.89 kB / 355.4 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.02335, allocations: 1.296 MB / 356.7 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.02364, allocations: 71.59 kB / 356.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.02368, allocations: 27.97 kB / 356.8 MB, free: 8.371 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.00023/0.02391, allocations: 242.2 kB / 357 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.02401, allocations: 63.77 kB / 357.1 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.02516, allocations: 0.7762 MB / 357.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.02516, allocations: 4 kB / 357.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.02517, allocations: 0 / 357.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.02517, allocations: 0 / 357.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.02555, allocations: 409.2 kB / 358.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02555, allocations: 8 kB / 358.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.02567, allocations: 43.97 kB / 358.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/0.028, allocations: 0.8184 MB / 359.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.02804, allocations: 16 kB / 359.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.03254, allocations: 1.394 MB / 360.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.03254, allocations: 0 / 360.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.03362, allocations: 0.7687 MB / 361.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.03382, allocations: 123.5 kB / 361.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.03389, allocations: 31.94 kB / 361.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.03416, allocations: 43.95 kB / 361.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.03427, allocations: 52.36 kB / 361.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.03431, allocations: 19.98 kB / 361.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.03449, allocations: 243 kB / 361.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03449, allocations: 0 / 361.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003734/0.03486, allocations: 139.9 kB / 361.9 MB, free: 3.004 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.0001962/0.03506, allocations: 139.8 kB / 362.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.03625, allocations: 0.6628 MB / 362.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.03625, allocations: 4 kB / 362.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007423/0.03699, allocations: 423.3 kB / 363.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.0373, allocations: 57.12 kB / 363.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.04176, allocations: 0.7791 MB / 364 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.497e-05/0.04183, allocations: 110.4 kB / 364.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.04195, allocations: 47.19 kB / 364.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.04203, allocations: 36.48 kB / 364.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.04203, allocations: 0 / 364.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of Templates: time 0.02473/0.06676, allocations: 8.966 MB / 373.2 MB, free: 7.762 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.1357301832176745]