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.00147/0.00147, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001744/0.001744, allocations: 225.6 kB / 23.03 MB, free: 4.621 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.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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.04076/0.04076, allocations: 6.138 MB / 319.4 MB, free: 12.73 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.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 0.001678/0.001678, allocations: 47.92 kB / 444.9 MB, free: 4.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1441, allocations: 55.02 MB / 499.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003806/0.1479, allocations: 1.642 MB / 0.4898 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.1507, allocations: 1.676 MB / 0.4915 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1509, allocations: 4 kB / 0.4915 GB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.1513, allocations: 135.3 kB / 0.4916 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.1518, allocations: 151.1 kB / 0.4918 GB, free: 9.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.1538, allocations: 0.8698 MB / 0.4926 GB, free: 8.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.1543, allocations: 346.7 kB / 0.4929 GB, free: 8.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.1545, allocations: 48.86 kB / 0.493 GB, free: 8.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1547, allocations: 143.5 kB / 0.4931 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1549, allocations: 135.4 kB / 0.4932 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.155, allocations: 28 kB / 0.4933 GB, free: 8.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/0.1555, allocations: 239.8 kB / 0.4935 GB, free: 8.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.1555, allocations: 55.7 kB / 0.4936 GB, free: 7.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1557, allocations: 119.5 kB / 0.4937 GB, free: 7.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.1564, allocations: 0.51 MB / 0.4942 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1564, allocations: 0 / 0.4942 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1564, allocations: 4 kB / 0.4942 GB, free: 7.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.1565, allocations: 0 / 0.4942 GB, free: 7.336 MB / 366.1 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.003924/0.1604, allocations: 1.001 MB / 0.4951 GB, free: 6.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1604, allocations: 8.031 kB / 0.4952 GB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.1606, allocations: 32.75 kB / 0.4952 GB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.1611, allocations: 233.1 kB / 0.4954 GB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.1611, allocations: 20.31 kB / 0.4954 GB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1612, allocations: 24.5 kB / 0.4954 GB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/0.162, allocations: 0.4972 MB / 0.4959 GB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1621, allocations: 4 kB / 0.4959 GB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.1621, allocations: 12 kB / 0.4959 GB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1621, allocations: 4 kB / 0.496 GB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.1627, allocations: 305.5 kB / 0.4962 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1641, allocations: 0.6677 MB / 0.4969 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009205/0.1651, allocations: 340.2 kB / 0.4972 GB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.1654, allocations: 190.5 kB / 0.4974 GB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.1665, allocations: 0.5817 MB / 0.498 GB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008117/0.1673, allocations: 0.508 MB / 0.4985 GB, free: 2.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.1673, allocations: 3.938 kB / 0.4985 GB, free: 2.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.00308/0.1704, allocations: 0.9394 MB / 0.4994 GB, free: 1.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.1706, allocations: 225.5 kB / 0.4996 GB, free: 1.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.1709, allocations: 265.8 kB / 0.4999 GB, free: 1.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.171, allocations: 37.7 kB / 0.4999 GB, free: 1.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1711, allocations: 140.9 kB / 0.5 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1712, allocations: 107.1 kB / 0.5001 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.1714, allocations: 81.67 kB / 0.5002 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.1716, allocations: 338.8 kB / 0.5005 GB, free: 448 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.172, allocations: 170.1 kB / 0.5007 GB, free: 272 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.1724, allocations: 331.7 kB / 0.501 GB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/0.1758, allocations: 1.029 MB / 0.502 GB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1758, allocations: 7.938 kB / 0.502 GB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001362/0.1772, allocations: 0.6478 MB / 0.5027 GB, free: 14.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.1773, allocations: 41.62 kB / 0.5027 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1773, allocations: 4 kB / 0.5027 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.1788, allocations: 389 kB / 0.5031 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1791, allocations: 67.91 kB / 0.5031 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.1818, allocations: 2.206 MB / 0.5053 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.1824, allocations: 79.91 kB / 0.5054 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.1824, allocations: 16 kB / 0.5054 GB, free: 11.14 MB / 382.1 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.0004169/0.1828, allocations: 212.9 kB / 0.5056 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.1829, allocations: 31.81 kB / 0.5056 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.1848, allocations: 0.7695 MB / 0.5064 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1848, allocations: 4 kB / 0.5064 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1848, allocations: 0 / 0.5064 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1848, allocations: 4 kB / 0.5064 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.1853, allocations: 320.8 kB / 0.5067 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1853, allocations: 0 / 0.5067 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.1855, allocations: 35.91 kB / 0.5067 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.1871, allocations: 453.3 kB / 0.5071 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.1871, allocations: 11.98 kB / 0.5072 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.1901, allocations: 2.337 MB / 0.5094 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1901, allocations: 0 / 0.5094 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.1925, allocations: 1.016 MB / 0.5104 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.1927, allocations: 71.73 kB / 0.5105 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.1928, allocations: 19.94 kB / 0.5105 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.1931, allocations: 55.88 kB / 0.5106 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1933, allocations: 39.94 kB / 0.5106 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.1933, allocations: 12.06 kB / 0.5106 GB, free: 5.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.1935, allocations: 193.2 kB / 0.5108 GB, free: 5.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1935, allocations: 0 / 0.5108 GB, free: 5.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.194, allocations: 92 kB / 0.5109 GB, free: 5.203 MB / 382.1 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.000284/0.1943, allocations: 147.7 kB / 0.511 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.1958, allocations: 0.6417 MB / 0.5117 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1958, allocations: 0 / 0.5117 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009156/0.1967, allocations: 436.2 kB / 0.5121 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.197, allocations: 40.36 kB / 0.5121 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1983, allocations: 0.6746 MB / 0.5128 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.1985, allocations: 147.8 kB / 0.5129 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.1986, allocations: 30.27 kB / 0.5129 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.1987, allocations: 31.42 kB / 0.513 GB, free: 2.941 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1987, allocations: 4 kB / 0.513 GB, free: 2.938 MB / 382.1 MB Notification: Performance of Templates: time 0.2515/0.4502, allocations: 6.073 MB / 0.5189 GB, free: 30.44 MB / 382.1 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 sys.exit(0), Time elapsed: 5.54629647359252] Failed to read output from testmodel.py, exit status != 0: 0.4588835034519434 0.474970274 0.31547542900000003 Calling exit ...