Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.0007304/0.0007304, allocations: 76.47 kB / 20.73 MB, free: 3.828 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.0007409/0.0007409, allocations: 173.9 kB / 24.01 MB, free: 0.543 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.8571/0.8571, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.02289/0.02289, allocations: 4.481 MB / 265.2 MB, free: 8.734 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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 390.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.053e-05, allocations: 2.281 kB / 390.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.00177/0.001791, allocations: 1.662 MB / 392.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.0033, allocations: 1.68 MB / 394.2 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.003372, allocations: 7.938 kB / 394.2 MB, free: 3.508 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.003647, allocations: 135.1 kB / 394.3 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.003892, allocations: 147 kB / 394.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.004765, allocations: 0.8748 MB / 395.4 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.005078, allocations: 354.5 kB / 395.7 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.005191, allocations: 36.91 kB / 395.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.005336, allocations: 199.5 kB / 395.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.005459, allocations: 119.7 kB / 396.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.005491, allocations: 35.94 kB / 396.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.005756, allocations: 239.5 kB / 396.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.005793, allocations: 51.77 kB / 396.4 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.005875, allocations: 107.7 kB / 396.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.00632, allocations: 0.5376 MB / 397 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006322, allocations: 0 / 397 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006323, allocations: 0 / 397 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.006328, allocations: 0 / 397 MB, free: 0.6953 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001872/0.0082, allocations: 1.009 MB / 398 MB, free: 15.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.008232, allocations: 12.03 kB / 398 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.00829, allocations: 32.75 kB / 398.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.008512, allocations: 228.8 kB / 398.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.008529, allocations: 12.38 kB / 398.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.008592, allocations: 28.55 kB / 398.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.009037, allocations: 0.4899 MB / 398.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.009046, allocations: 192 / 398.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.009071, allocations: 12.12 kB / 398.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.009077, allocations: 4 kB / 398.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.009401, allocations: 313.5 kB / 399.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.01017, allocations: 0.6676 MB / 399.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.01064, allocations: 348 kB / 400.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.01084, allocations: 190.4 kB / 400.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/0.01139, allocations: 0.5664 MB / 400.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003952/0.01178, allocations: 0.5194 MB / 401.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.283e-06/0.01178, allocations: 0 / 401.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001487/0.01327, allocations: 0.9406 MB / 402.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.01335, allocations: 225.6 kB / 402.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.01352, allocations: 261.8 kB / 402.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.01354, allocations: 37.7 kB / 402.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.01361, allocations: 144.9 kB / 403 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.01367, allocations: 107.1 kB / 403.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.01375, allocations: 77.69 kB / 403.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.01384, allocations: 342.7 kB / 403.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.014, allocations: 170.2 kB / 403.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.01422, allocations: 328.5 kB / 404 MB, free: 9.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.01579, allocations: 1.048 MB / 405.1 MB, free: 8.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01579, allocations: 4 kB / 405.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006384/0.01643, allocations: 0.641 MB / 405.7 MB, free: 7.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.01646, allocations: 48.59 kB / 405.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01646, allocations: 0 / 405.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006936/0.01716, allocations: 392.9 kB / 406.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.01729, allocations: 67.84 kB / 406.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.01855, allocations: 2.2 MB / 408.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.01875, allocations: 79.62 kB / 408.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.01877, allocations: 19.94 kB / 408.5 MB, free: 4.496 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = \"V\" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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.0001851/0.01896, allocations: 220.9 kB / 408.7 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.01899, allocations: 31.81 kB / 408.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/0.01993, allocations: 0.7616 MB / 409.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01993, allocations: 4 kB / 409.5 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01993, allocations: 0 / 409.5 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01994, allocations: 3.984 kB / 409.5 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.02016, allocations: 317 kB / 409.8 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.02016, allocations: 0 / 409.8 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.02025, allocations: 35.92 kB / 409.9 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007135/0.02096, allocations: 444.8 kB / 410.3 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.02099, allocations: 15.98 kB / 410.3 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.02233, allocations: 2.325 MB / 412.7 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02234, allocations: 8.094 kB / 412.7 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1284/0.1508, allocations: 1.014 MB / 413.7 MB, free: 34.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.1509, allocations: 73.97 kB / 413.7 MB, free: 34.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.151, allocations: 22.06 kB / 413.8 MB, free: 34.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1511, allocations: 56.12 kB / 413.8 MB, free: 34.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.1512, allocations: 34.33 kB / 413.9 MB, free: 34.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.1513, allocations: 15.97 kB / 413.9 MB, free: 34.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1514, allocations: 189.2 kB / 414.1 MB, free: 34.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1514, allocations: 0 / 414.1 MB, free: 34.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.1517, allocations: 98.25 kB / 414.2 MB, free: 34.06 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001955/0.1519, allocations: 141.7 kB / 414.3 MB, free: 33.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007887/0.1527, allocations: 0.6418 MB / 414.9 MB, free: 33.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1527, allocations: 1.156 kB / 414.9 MB, free: 33.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.1531, allocations: 436.6 kB / 415.4 MB, free: 33.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.1533, allocations: 32.59 kB / 415.4 MB, free: 33.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.154, allocations: 0.6592 MB / 416 MB, free: 32.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.955e-05/0.1541, allocations: 153.3 kB / 416.2 MB, free: 32.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.1542, allocations: 32.7 kB / 416.2 MB, free: 32.82 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1542, allocations: 0 / 416.2 MB, free: 32.82 MB / 330.7 MB Notification: Performance of Templates: time 0.006319/0.1605, allocations: 6.353 MB / 422.6 MB, free: 31.8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.785870018415153] Failed to read output from testmodel.py, exit status != 0: 0.16511171963065863 0.171620511 0.164099402 Calling exit ...