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.001394/0.001394, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001605/0.001605, allocations: 221.7 kB / 23.03 MB, free: 5.016 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.04192/0.04192, allocations: 6.144 MB / 319.3 MB, free: 12.8 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.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 0.001649/0.001649, allocations: 51.92 kB / 444.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1406, allocations: 55.03 MB / 499.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.004928/0.1455, allocations: 2.492 MB / 0.4907 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.1483, allocations: 1.305 MB / 0.4919 GB, free: 9.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1485, allocations: 4 kB / 0.4919 GB, free: 9.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.1491, allocations: 255 kB / 0.4922 GB, free: 9.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.1497, allocations: 266.8 kB / 0.4924 GB, free: 9.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.1519, allocations: 0.9323 MB / 0.4933 GB, free: 8.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.1526, allocations: 442.5 kB / 0.4938 GB, free: 7.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1528, allocations: 44.91 kB / 0.4938 GB, free: 7.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.1531, allocations: 199.4 kB / 0.494 GB, free: 7.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.1535, allocations: 303 kB / 0.4943 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.1535, allocations: 32 kB / 0.4943 GB, free: 7.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007579/0.1543, allocations: 315.7 kB / 0.4946 GB, free: 6.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.1545, allocations: 147.5 kB / 0.4948 GB, free: 6.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.1547, allocations: 190.8 kB / 0.4949 GB, free: 6.609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1558, allocations: 0.7394 MB / 0.4957 GB, free: 5.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1558, allocations: 0 / 0.4957 GB, free: 5.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1558, allocations: 0 / 0.4957 GB, free: 5.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1558, allocations: 0 / 0.4957 GB, free: 5.867 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.004389/0.1602, allocations: 1.309 MB / 0.4969 GB, free: 4.512 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1602, allocations: 12.03 kB / 0.497 GB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.1604, allocations: 68.5 kB / 0.497 GB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/0.1612, allocations: 422.4 kB / 0.4974 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.1612, allocations: 16.38 kB / 0.4974 GB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.1613, allocations: 28.31 kB / 0.4975 GB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.1623, allocations: 0.6074 MB / 0.4981 GB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1623, allocations: 0 / 0.4981 GB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.1623, allocations: 8 kB / 0.4981 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1623, allocations: 4 kB / 0.4981 GB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.1631, allocations: 416 kB / 0.4985 GB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.165, allocations: 0.8249 MB / 0.4993 GB, free: 2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.166, allocations: 442.4 kB / 0.4997 GB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.1665, allocations: 292.4 kB / 0.5 GB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.1676, allocations: 0.6021 MB / 0.5006 GB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009063/0.1685, allocations: 0.655 MB / 0.5012 GB, free: 15.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.923e-06/0.1685, allocations: 0 / 0.5012 GB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.003771/0.1723, allocations: 1.384 MB / 0.5026 GB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.1725, allocations: 255.5 kB / 0.5028 GB, free: 14.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009293/0.1734, allocations: 0.6787 MB / 0.5035 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.1735, allocations: 37.7 kB / 0.5035 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.1737, allocations: 268.8 kB / 0.5038 GB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1738, allocations: 123 kB / 0.5039 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.174, allocations: 86.05 kB / 0.5039 GB, free: 12.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.1742, allocations: 374.8 kB / 0.5043 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.1746, allocations: 272.2 kB / 0.5046 GB, free: 12.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.1751, allocations: 421.6 kB / 0.505 GB, free: 11.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/0.1791, allocations: 1.418 MB / 0.5064 GB, free: 10.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1791, allocations: 0 / 0.5064 GB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002213/0.1813, allocations: 1.026 MB / 0.5074 GB, free: 9.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/0.1814, allocations: 75.38 kB / 0.5074 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.1814, allocations: 8 kB / 0.5074 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.183, allocations: 395.2 kB / 0.5078 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.1833, allocations: 63.91 kB / 0.5079 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.186, allocations: 2.211 MB / 0.51 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.1866, allocations: 91.77 kB / 0.5101 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.1866, allocations: 20 kB / 0.5101 GB, free: 6.203 MB / 382.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: 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.0005575/0.1872, allocations: 320.3 kB / 0.5104 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1873, allocations: 71.58 kB / 0.5105 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.1899, allocations: 1.138 MB / 0.5116 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1899, allocations: 0 / 0.5116 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1899, allocations: 11.88 kB / 0.5116 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1899, allocations: 0 / 0.5116 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.1905, allocations: 412.9 kB / 0.512 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1905, allocations: 0 / 0.512 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1906, allocations: 39.98 kB / 0.5121 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.1923, allocations: 451.7 kB / 0.5125 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.1923, allocations: 12 kB / 0.5125 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/0.1953, allocations: 2.34 MB / 0.5148 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1953, allocations: 0 / 0.5148 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3114/0.5067, allocations: 1.137 MB / 0.5159 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.5071, allocations: 121.3 kB / 0.516 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.5072, allocations: 20.17 kB / 0.516 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.5076, allocations: 57.77 kB / 0.5161 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.5078, allocations: 35.25 kB / 0.5161 GB, free: 30.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.5078, allocations: 23.14 kB / 0.5162 GB, free: 30.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005718/0.5084, allocations: 493.3 kB / 0.5166 GB, free: 30.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5084, allocations: 1.484 kB / 0.5166 GB, free: 30.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.5089, allocations: 140.5 kB / 0.5168 GB, free: 30.85 MB / 382.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: 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.0002907/0.5092, allocations: 169.6 kB / 0.5169 GB, free: 30.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.5107, allocations: 0.9165 MB / 0.5178 GB, free: 30.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5107, allocations: 3.25 kB / 0.5178 GB, free: 30.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009152/0.5116, allocations: 0.5822 MB / 0.5184 GB, free: 30.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.512, allocations: 56.17 kB / 0.5184 GB, free: 30.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.5138, allocations: 1.169 MB / 0.5196 GB, free: 29.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.5141, allocations: 268.7 kB / 0.5198 GB, free: 29.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.5143, allocations: 57.67 kB / 0.5199 GB, free: 29.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.5144, allocations: 35.38 kB / 0.5199 GB, free: 29.55 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5144, allocations: 0 / 0.5199 GB, free: 29.55 MB / 382.1 MB Notification: Performance of Templates: time 0.0183/0.5327, allocations: 8.36 MB / 0.5281 GB, free: 28.53 MB / 382.1 MB " [Timeout remaining time 659] 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: 5.602318236604333] Failed to read output from testmodel.py, exit status != 0: 0.5410849489271641 0.562272983 0.40284666699999994 Calling exit ...