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.0008102/0.0008102, allocations: 84.44 kB / 20.73 MB, free: 3.832 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.000794/0.000794, allocations: 165.9 kB / 24 MB, free: 0.5586 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.8751/0.8751, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.02145/0.02145, allocations: 4.473 MB / 265.2 MB, free: 8.754 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 1.333e-06/1.333e-06, allocations: 0 / 390.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.072e-05, allocations: 2.281 kB / 390.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.00231/0.002331, allocations: 2.49 MB / 393.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.00386, allocations: 1.324 MB / 394.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.003949, allocations: 4 kB / 394.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.004328, allocations: 250.8 kB / 394.9 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.004614, allocations: 270.6 kB / 395.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009557/0.00557, allocations: 0.9259 MB / 396.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.005931, allocations: 462.3 kB / 396.6 MB, free: 1.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.006049, allocations: 52.83 kB / 396.6 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.006234, allocations: 267.4 kB / 396.9 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.006452, allocations: 271.4 kB / 397.2 MB, free: 0.582 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.006491, allocations: 39.98 kB / 397.2 MB, free: 0.543 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.006798, allocations: 311.5 kB / 397.5 MB, free: 244 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.936e-05/0.006898, allocations: 139.5 kB / 397.6 MB, free: 104 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.007022, allocations: 155.5 kB / 397.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.007587, allocations: 0.7711 MB / 398.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.007589, allocations: 0 / 398.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00759, allocations: 0 / 398.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.007596, allocations: 3.938 kB / 398.6 MB, free: 15.17 MB / 330.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.002063/0.00966, allocations: 1.306 MB / 399.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.009698, allocations: 12.03 kB / 399.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.009781, allocations: 72.52 kB / 400 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.01018, allocations: 409.7 kB / 400.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.0102, allocations: 16.38 kB / 400.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.01023, allocations: 20.38 kB / 400.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.011, allocations: 0.6011 MB / 401 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.01101, allocations: 192 / 401 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.01104, allocations: 11.94 kB / 401 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.01104, allocations: 4 kB / 401 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.01142, allocations: 423.4 kB / 401.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009289/0.01235, allocations: 0.8212 MB / 402.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.0129, allocations: 460.8 kB / 402.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.01314, allocations: 284.4 kB / 403 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006146/0.01375, allocations: 0.6056 MB / 403.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004403/0.01419, allocations: 0.655 MB / 404.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.332e-06/0.01419, allocations: 0 / 404.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.00185/0.01604, allocations: 1.391 MB / 405.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.01613, allocations: 251.3 kB / 405.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.01659, allocations: 0.6825 MB / 406.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.01662, allocations: 33.7 kB / 406.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.01675, allocations: 264.8 kB / 406.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.01682, allocations: 123 kB / 407 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.01691, allocations: 86.05 kB / 407 MB, free: 6.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.01701, allocations: 374.8 kB / 407.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.01721, allocations: 268.2 kB / 407.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/0.01775, allocations: 425.6 kB / 408.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.01959, allocations: 1.423 MB / 409.5 MB, free: 3.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01959, allocations: 4 kB / 409.5 MB, free: 3.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009948/0.02059, allocations: 1.023 MB / 410.5 MB, free: 2.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.02063, allocations: 71.39 kB / 410.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.02063, allocations: 0 / 410.6 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.02133, allocations: 396.9 kB / 411 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.02145, allocations: 63.91 kB / 411.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1279/0.1494, allocations: 2.198 MB / 413.3 MB, free: 33.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.1498, allocations: 89.94 kB / 413.3 MB, free: 33.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.1498, allocations: 23.7 kB / 413.4 MB, free: 33.37 MB / 330.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.0003189/0.1501, allocations: 319.5 kB / 413.7 MB, free: 33.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.1502, allocations: 68.42 kB / 413.7 MB, free: 33.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.1515, allocations: 1.133 MB / 414.9 MB, free: 32.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1515, allocations: 5.969 kB / 414.9 MB, free: 32.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1515, allocations: 1.031 kB / 414.9 MB, free: 32.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1515, allocations: 2.062 kB / 414.9 MB, free: 32.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1518, allocations: 419.1 kB / 415.3 MB, free: 32.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1518, allocations: 0 / 415.3 MB, free: 32.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.1519, allocations: 32.48 kB / 415.3 MB, free: 32.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007592/0.1526, allocations: 449.4 kB / 415.8 MB, free: 32.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.1526, allocations: 14.23 kB / 415.8 MB, free: 32.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.1538, allocations: 2.337 MB / 418.1 MB, free: 30.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1538, allocations: 2.844 kB / 418.1 MB, free: 30.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1549, allocations: 1.137 MB / 419.3 MB, free: 30.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1551, allocations: 131.2 kB / 419.4 MB, free: 30.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.1551, allocations: 19.84 kB / 419.4 MB, free: 30.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1553, allocations: 53.7 kB / 419.5 MB, free: 30.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.1554, allocations: 42.91 kB / 419.5 MB, free: 30.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.1554, allocations: 20.7 kB / 419.5 MB, free: 30.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000352/0.1558, allocations: 497.8 kB / 420 MB, free: 29.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1558, allocations: 3.844 kB / 420 MB, free: 29.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.1561, allocations: 140.6 kB / 420.1 MB, free: 29.83 MB / 330.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.0002106/0.1563, allocations: 168.4 kB / 420.3 MB, free: 29.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008744/0.1572, allocations: 0.9137 MB / 421.2 MB, free: 29.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1572, allocations: 1.312 kB / 421.2 MB, free: 29.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.1577, allocations: 0.5871 MB / 421.8 MB, free: 28.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1579, allocations: 51.75 kB / 421.9 MB, free: 28.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.159, allocations: 1.198 MB / 423.1 MB, free: 28.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.1592, allocations: 271.8 kB / 423.3 MB, free: 28.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.1593, allocations: 38.47 kB / 423.4 MB, free: 28.03 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1593, allocations: 0 / 423.4 MB, free: 28.03 MB / 330.7 MB Notification: Performance of Templates: time 0.008866/0.1681, allocations: 10.26 MB / 433.6 MB, free: 24.25 MB / 330.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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.845326852984726] Failed to read output from testmodel.py, exit status != 0: 0.17284479923546314 0.178626483 0.169676356 Calling exit ...