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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002041/0.00204, allocations: 116.2 kB / 17.13 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 197.2 kB / 18.06 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.437/2.437, allocations: 222.9 MB / 241.8 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.08625/0.08625, allocations: 8.1 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.91 kB / 415.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1476, allocations: 51.51 MB / 466.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.006719/0.1544, allocations: 2.653 MB / 469.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.1583, allocations: 1.367 MB / 470.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.1588, allocations: 4 kB / 470.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009888/0.1598, allocations: 263 kB / 471 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1609, allocations: 254.8 kB / 471.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.1642, allocations: 1.027 MB / 472.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.1654, allocations: 474.4 kB / 472.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.1657, allocations: 76.64 kB / 472.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.1662, allocations: 203.3 kB / 473 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.167, allocations: 303 kB / 473.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.1671, allocations: 36 kB / 473.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.1683, allocations: 319.7 kB / 473.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.1685, allocations: 139.5 kB / 473.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004646/0.169, allocations: 250.3 kB / 474 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.1708, allocations: 0.7205 MB / 474.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1709, allocations: 0 / 474.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1709, allocations: 0 / 474.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.1709, allocations: 0 / 474.7 MB, free: 10.21 MB / 350.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.007026/0.1779, allocations: 1.358 MB / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.178, allocations: 11.89 kB / 476.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.1783, allocations: 68.19 kB / 476.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1796, allocations: 467.8 kB / 476.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.1797, allocations: 16.38 kB / 476.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.1798, allocations: 24.38 kB / 476.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.181, allocations: 410.1 kB / 477 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.1811, allocations: 0 / 477 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.1812, allocations: 15.94 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1812, allocations: 4 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.1822, allocations: 348.8 kB / 477.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.185, allocations: 1.097 MB / 478.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.1866, allocations: 0.5183 MB / 479 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/0.1873, allocations: 273 kB / 479.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/0.1892, allocations: 0.8704 MB / 480.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.1903, allocations: 488.6 kB / 480.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 4.207e-06/0.1903, allocations: 0 / 480.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00542/0.1957, allocations: 1.397 MB / 482 MB, free: 2.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003434/0.1961, allocations: 247.6 kB / 482.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.1977, allocations: 0.6825 MB / 483 MB, free: 1.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.1978, allocations: 37.7 kB / 483 MB, free: 1.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/0.1982, allocations: 252.6 kB / 483.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1984, allocations: 122.3 kB / 483.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.1988, allocations: 90.06 kB / 483.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002788/0.1991, allocations: 378.8 kB / 483.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.1997, allocations: 196.9 kB / 484 MB, free: 436 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008581/0.2006, allocations: 307.1 kB / 484.3 MB, free: 92 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005461/0.2061, allocations: 1.39 MB / 485.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.2061, allocations: 3.938 kB / 485.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003315/0.2094, allocations: 0.9424 MB / 486.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.2096, allocations: 71.33 kB / 486.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.2096, allocations: 7.984 kB / 486.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.212, allocations: 351.3 kB / 487.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.2125, allocations: 71.83 kB / 487.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.2164, allocations: 2.256 MB / 489.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/0.2173, allocations: 87.62 kB / 489.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/0.2174, allocations: 16 kB / 489.5 MB, free: 10.59 MB / 366.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.0008647/0.2183, allocations: 332.2 kB / 489.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.2186, allocations: 67.25 kB / 489.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004051/0.2227, allocations: 1.165 MB / 491 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.2227, allocations: 7.938 kB / 491.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2227, allocations: 0 / 491.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2227, allocations: 0 / 491.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.2239, allocations: 0.5517 MB / 491.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.2239, allocations: 64 / 491.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.2241, allocations: 31.98 kB / 491.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.2265, allocations: 406 kB / 492 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/0.2266, allocations: 23.92 kB / 492.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/0.2309, allocations: 2.373 MB / 494.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.231, allocations: 0 / 494.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/0.235, allocations: 1.17 MB / 495.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.2356, allocations: 208.1 kB / 495.8 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.2358, allocations: 20 kB / 495.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.2366, allocations: 59.88 kB / 495.9 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.2368, allocations: 39.95 kB / 495.9 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.718e-05/0.2369, allocations: 19.98 kB / 495.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.2381, allocations: 494.8 kB / 496.4 MB, free: 3.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2381, allocations: 0 / 496.4 MB, free: 3.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001038/0.2391, allocations: 140 kB / 496.6 MB, free: 3.195 MB / 366.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.0005302/0.2397, allocations: 171.1 kB / 496.7 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002643/0.2423, allocations: 0.8812 MB / 497.6 MB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.2424, allocations: 4.062 kB / 497.6 MB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.2441, allocations: 0.7083 MB / 498.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.2449, allocations: 54.98 kB / 498.4 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.2482, allocations: 1.109 MB / 499.5 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008767/0.2491, allocations: 0.8756 MB / 0.4886 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.2494, allocations: 43.36 kB / 0.4887 GB, free: 15.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2494, allocations: 0 / 0.4887 GB, free: 15.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02501/0.2744, allocations: 10.1 MB / 0.4985 GB, free: 5.109 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile (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)