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.001539/0.001539, allocations: 84.23 kB / 20.25 MB, free: 4.191 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.001691/0.001691, allocations: 157.7 kB / 23.56 MB, free: 0.8828 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 1.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.04025/0.04025, allocations: 4.47 MB / 264.8 MB, free: 8.59 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.473e-06/1.473e-06, allocations: 0 / 335.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.092e-05, allocations: 6.312 kB / 335.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003045/0.003076, allocations: 2.93 MB / 338.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.004621, allocations: 1.086 MB / 339.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.004757, allocations: 8 kB / 339.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.005116, allocations: 158.9 kB / 339.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.005622, allocations: 258.3 kB / 340.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.007377, allocations: 1.179 MB / 341.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.007843, allocations: 0.5212 MB / 341.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.007994, allocations: 87.25 kB / 342 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.008223, allocations: 291.3 kB / 342.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.008443, allocations: 191.5 kB / 342.4 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.008497, allocations: 44 kB / 342.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.008889, allocations: 307.5 kB / 342.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.008944, allocations: 87.61 kB / 342.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.009073, allocations: 159.6 kB / 343 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.009682, allocations: 0.7516 MB / 343.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.009685, allocations: 0 / 343.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009686, allocations: 0 / 343.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.009692, allocations: 0 / 343.8 MB, free: 5.543 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.004048/0.01374, allocations: 1.255 MB / 345 MB, free: 4.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.01377, allocations: 8.031 kB / 345 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.01393, allocations: 72.66 kB / 345.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.01431, allocations: 293.6 kB / 345.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.01436, allocations: 54.92 kB / 345.4 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.01442, allocations: 40.38 kB / 345.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008062/0.01523, allocations: 0.6123 MB / 346.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01524, allocations: 192 / 346.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.01529, allocations: 16.12 kB / 346.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.01529, allocations: 8 kB / 346.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.01606, allocations: 0.5039 MB / 346.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.01821, allocations: 1.221 MB / 347.8 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009877/0.0192, allocations: 0.5249 MB / 348.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.01967, allocations: 307.2 kB / 348.7 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.01978, allocations: 12.33 kB / 348.7 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009694/0.02075, allocations: 0.6775 MB / 349.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 1.903e-06/0.02075, allocations: 4 kB / 349.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.006968/0.02772, allocations: 1.879 MB / 351.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.02788, allocations: 203.8 kB / 351.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.02834, allocations: 312.5 kB / 351.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/0.02841, allocations: 49.69 kB / 351.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.02857, allocations: 165.1 kB / 352 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.02876, allocations: 170.6 kB / 352.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.02899, allocations: 110.2 kB / 352.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.0292, allocations: 346.8 kB / 352.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/0.02993, allocations: 326.8 kB / 352.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.03062, allocations: 409.1 kB / 353.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009203/0.03982, allocations: 2.179 MB / 355.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.03983, allocations: 3.938 kB / 355.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004482/0.04431, allocations: 1.354 MB / 356.8 MB, free: 8.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/0.04437, allocations: 40.81 kB / 356.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.04439, allocations: 0 / 356.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004082/0.04847, allocations: 0.9002 MB / 357.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.04878, allocations: 75.89 kB / 357.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.05102, allocations: 1.362 MB / 359.2 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.05164, allocations: 87.61 kB / 359.3 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.05171, allocations: 23.98 kB / 359.3 MB, free: 5.48 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.0004308/0.05214, allocations: 234.9 kB / 359.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.05229, allocations: 63.72 kB / 359.6 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.05475, allocations: 1.133 MB / 360.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.05477, allocations: 4 kB / 360.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.05477, allocations: 0 / 360.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.05478, allocations: 4 kB / 360.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.05542, allocations: 437.8 kB / 361.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.05542, allocations: 0 / 361.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.05563, allocations: 51.91 kB / 361.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004262/0.05989, allocations: 0.949 MB / 362.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.05996, allocations: 16 kB / 362.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.06289, allocations: 1.514 MB / 363.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.06289, allocations: 0 / 363.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.06529, allocations: 1.114 MB / 364.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.06562, allocations: 123.5 kB / 364.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.06576, allocations: 27.92 kB / 365 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.06635, allocations: 63.94 kB / 365 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.06653, allocations: 44.42 kB / 365.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/0.0666, allocations: 23.98 kB / 365.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003481/0.06695, allocations: 235 kB / 365.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06695, allocations: 3.938 kB / 365.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005455/0.06749, allocations: 139.9 kB / 365.5 MB, free: 15.16 MB / 298.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.0003422/0.06784, allocations: 151.5 kB / 365.6 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.07025, allocations: 0.9002 MB / 366.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.07026, allocations: 0 / 366.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.07172, allocations: 0.5181 MB / 367 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.07216, allocations: 69.2 kB / 367.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.07407, allocations: 0.8712 MB / 368 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.07429, allocations: 200.9 kB / 368.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.07448, allocations: 51.36 kB / 368.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.07459, allocations: 36.48 kB / 368.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.07459, allocations: 4 kB / 368.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of Templates: time 0.01784/0.09244, allocations: 8.906 MB / 377.2 MB, free: 3.434 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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7873040430713445]