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.001577/0.001577, allocations: 72.66 kB / 19.97 MB, free: 1.746 MB / 14.72 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.001972/0.001972, allocations: 166.5 kB / 23.26 MB, free: 4.871 MB / 14.72 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.49/1.49, allocations: 177.1 MB / 203.6 MB, free: 9.184 MB / 190.1 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.05039/0.05039, allocations: 4.481 MB / 264.5 MB, free: 12.22 MB / 254.1 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.312e-06/1.312e-06, allocations: 0 / 390.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.314e-05, allocations: 2.281 kB / 390.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004584/0.004607, allocations: 2.937 MB / 393.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.006815, allocations: 1.078 MB / 394.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.006966, allocations: 8 kB / 394.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.007435, allocations: 162.8 kB / 394.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006598/0.008094, allocations: 258.3 kB / 394.6 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.01064, allocations: 1.179 MB / 395.7 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007617/0.0114, allocations: 0.5134 MB / 396.3 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.0116, allocations: 88.44 kB / 396.3 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.01198, allocations: 287.4 kB / 396.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.01233, allocations: 191.4 kB / 396.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-05/0.01241, allocations: 44 kB / 396.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006024/0.01301, allocations: 315.5 kB / 397.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.01311, allocations: 87.59 kB / 397.2 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.01333, allocations: 155.6 kB / 397.4 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.01433, allocations: 0.7401 MB / 398.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01433, allocations: 0 / 398.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01433, allocations: 0 / 398.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.01434, allocations: 0 / 398.1 MB, free: 4.594 MB / 318.1 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.004977/0.01931, allocations: 1.259 MB / 399.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.01935, allocations: 12.03 kB / 399.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.01949, allocations: 48.66 kB / 399.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.01999, allocations: 297.6 kB / 399.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.02008, allocations: 50.92 kB / 399.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.02015, allocations: 28.38 kB / 399.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.0213, allocations: 0.6162 MB / 400.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.02132, allocations: 192 / 400.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.02137, allocations: 16.12 kB / 400.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.02139, allocations: 12 kB / 400.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.02245, allocations: 0.5038 MB / 401 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.02529, allocations: 1.233 MB / 402.2 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.02661, allocations: 0.5216 MB / 402.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.02724, allocations: 311.2 kB / 403 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.02736, allocations: 12.31 kB / 403 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.02858, allocations: 0.6772 MB / 403.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.02858, allocations: 0 / 403.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.006944/0.03553, allocations: 1.856 MB / 405.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001913/0.03572, allocations: 199.9 kB / 405.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.03617, allocations: 320.4 kB / 406.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/0.03624, allocations: 37.7 kB / 406.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.03642, allocations: 181 kB / 406.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.0366, allocations: 166.6 kB / 406.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.03682, allocations: 110.1 kB / 406.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.03704, allocations: 346.8 kB / 406.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/0.03764, allocations: 330.7 kB / 407.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/0.03832, allocations: 409.1 kB / 407.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009161/0.04748, allocations: 2.175 MB / 409.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.04749, allocations: 7.922 kB / 409.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00401/0.0515, allocations: 1.33 MB / 411.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.05156, allocations: 41.69 kB / 411.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.05157, allocations: 0 / 411.2 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004231/0.0558, allocations: 0.8947 MB / 412.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.05613, allocations: 75.89 kB / 412.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.05833, allocations: 1.342 MB / 413.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/0.05899, allocations: 87.67 kB / 413.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.05906, allocations: 27.98 kB / 413.6 MB, free: 4.605 MB / 334.1 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.0004255/0.05948, allocations: 234.2 kB / 413.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.05959, allocations: 43.75 kB / 413.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.06205, allocations: 1.129 MB / 415 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.06206, allocations: 4 kB / 415 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.06206, allocations: 0 / 415 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.06207, allocations: 4 kB / 415 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.06268, allocations: 437.9 kB / 415.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.06268, allocations: 0 / 415.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.06288, allocations: 47.92 kB / 415.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004266/0.06714, allocations: 0.9568 MB / 416.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.0672, allocations: 16 kB / 416.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.06973, allocations: 1.487 MB / 417.9 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.06973, allocations: 0 / 417.9 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.07204, allocations: 1.102 MB / 419 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.07234, allocations: 123.5 kB / 419.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.07245, allocations: 31.89 kB / 419.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.07303, allocations: 59.94 kB / 419.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.0732, allocations: 60.39 kB / 419.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.07326, allocations: 16 kB / 419.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.07357, allocations: 231 kB / 419.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07357, allocations: 0 / 419.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.07411, allocations: 139.9 kB / 419.7 MB, free: 14.34 MB / 350.1 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.0003011/0.07441, allocations: 143.5 kB / 419.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.07669, allocations: 0.9086 MB / 420.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.0767, allocations: 0 / 420.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.07816, allocations: 0.5299 MB / 421.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.07853, allocations: 49.14 kB / 421.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.08029, allocations: 0.861 MB / 422.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.0805, allocations: 196.9 kB / 422.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.08065, allocations: 47.38 kB / 422.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.08075, allocations: 40.48 kB / 422.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.08075, allocations: 0 / 422.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01712/0.09787, allocations: 8.871 MB / 431.3 MB, free: 2.684 MB / 350.1 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.822804696857929] Failed to read output from testmodel.py, exit status != 0: 0.10734255239367485 0.12280534900000001 0.105165673 Calling exit ...