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.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 107.4 kB / 16.45 MB, free: 6.387 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.00127/0.00127, allocations: 194.4 kB / 17.39 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04979/0.04979, allocations: 8.101 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1191, allocations: 51.52 MB / 466 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003212/0.1224, allocations: 1.829 MB / 467.8 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.1249, allocations: 1.688 MB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.125, allocations: 7.938 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.1254, allocations: 139.2 kB / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.1258, allocations: 143.1 kB / 469.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.1276, allocations: 0.9608 MB / 470.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.1281, allocations: 362.7 kB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1283, allocations: 72.64 kB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1285, allocations: 139.5 kB / 471.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1287, allocations: 163.3 kB / 471.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.1288, allocations: 28 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.1292, allocations: 243.7 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.1293, allocations: 51.77 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.1294, allocations: 155.2 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.1301, allocations: 0.4908 MB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1301, allocations: 0 / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1301, allocations: 4 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1301, allocations: 0 / 472.4 MB, free: 11.68 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003759/0.1339, allocations: 1.054 MB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.1339, allocations: 8.031 kB / 473.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.1341, allocations: 32.56 kB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.1345, allocations: 294.8 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.1345, allocations: 24.31 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1346, allocations: 20.56 kB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.1354, allocations: 342.9 kB / 474.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1354, allocations: 4 kB / 474.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.1354, allocations: 4 kB / 474.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1354, allocations: 4 kB / 474.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.136, allocations: 267.8 kB / 474.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1374, allocations: 0.9322 MB / 475.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.1382, allocations: 445.9 kB / 475.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.1386, allocations: 204.8 kB / 476 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009625/0.1396, allocations: 0.8113 MB / 476.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006513/0.1402, allocations: 383.5 kB / 477.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.1403, allocations: 0 / 477.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002783/0.1431, allocations: 1.025 MB / 478.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.1432, allocations: 221.6 kB / 478.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.1435, allocations: 266.5 kB / 478.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.1436, allocations: 37.69 kB / 478.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1437, allocations: 144.7 kB / 478.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1438, allocations: 106.5 kB / 479 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.144, allocations: 77.69 kB / 479.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1441, allocations: 342.8 kB / 479.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.1444, allocations: 128.4 kB / 479.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.1447, allocations: 242.5 kB / 479.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.1479, allocations: 1.025 MB / 480.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1479, allocations: 0 / 480.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001068/0.149, allocations: 0.5977 MB / 481.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.149, allocations: 37.69 kB / 481.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.149, allocations: 4 kB / 481.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.1505, allocations: 355.3 kB / 481.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.1508, allocations: 67.91 kB / 481.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.1529, allocations: 2.264 MB / 484.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.1533, allocations: 75.62 kB / 484.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.1534, allocations: 16.06 kB / 484.2 MB, free: 15.13 MB / 366.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.0003236/0.1537, allocations: 217.7 kB / 484.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.1538, allocations: 35.56 kB / 484.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.1556, allocations: 0.8238 MB / 485.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1556, allocations: 4 kB / 485.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1556, allocations: 3.938 kB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1556, allocations: 11.92 kB / 485.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.156, allocations: 433.1 kB / 485.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1561, allocations: 0 / 485.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1562, allocations: 35.92 kB / 485.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.1577, allocations: 410.7 kB / 486.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.1578, allocations: 16.05 kB / 486.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.1601, allocations: 2.377 MB / 488.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1601, allocations: 4.031 kB / 488.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.1621, allocations: 1.039 MB / 489.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.1623, allocations: 152.6 kB / 489.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.1624, allocations: 19.94 kB / 489.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.1628, allocations: 55.95 kB / 489.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.1629, allocations: 35.95 kB / 489.9 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.163, allocations: 19.98 kB / 489.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1632, allocations: 190 kB / 490.1 MB, free: 8.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1632, allocations: 0 / 490.1 MB, free: 8.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004857/0.1637, allocations: 96 kB / 490.2 MB, free: 8.883 MB / 366.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.0002617/0.1639, allocations: 131.2 kB / 490.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.1653, allocations: 0.647 MB / 490.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1653, allocations: 0 / 490.9 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.1662, allocations: 0.5487 MB / 491.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.1664, allocations: 44.34 kB / 491.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1675, allocations: 0.6035 MB / 492.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1678, allocations: 0.7644 MB / 492.9 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1679, allocations: 30.27 kB / 492.9 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.168, allocations: 27.44 kB / 492.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.168, allocations: 0 / 492.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of Templates: time 0.01118/0.1792, allocations: 6.474 MB / 499.4 MB, free: 15.55 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile (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)