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/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.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.00143/0.00143, allocations: 102.6 kB / 16.45 MB, free: 6.41 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.001732/0.001732, allocations: 188.9 kB / 17.39 MB, free: 5.664 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04907/0.04907, allocations: 8.102 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09195, allocations: 51.52 MB / 466 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003329/0.09532, allocations: 2.657 MB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.09729, allocations: 1.359 MB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.09742, allocations: 4 kB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.09792, allocations: 263 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.09834, allocations: 258.8 kB / 470.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.1001, allocations: 1.019 MB / 471.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.1006, allocations: 482.3 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1007, allocations: 64.72 kB / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1009, allocations: 207.3 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.1012, allocations: 311 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.1013, allocations: 32 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004596/0.1018, allocations: 319.7 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1019, allocations: 143.5 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.1021, allocations: 246.4 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007175/0.1028, allocations: 0.7238 MB / 474 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1029, allocations: 0 / 474 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1029, allocations: 4 kB / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1029, allocations: 0 / 474 MB, free: 10.07 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.003695/0.1066, allocations: 1.381 MB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1066, allocations: 12.03 kB / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1067, allocations: 68.52 kB / 475.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.1073, allocations: 468.3 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1073, allocations: 16.38 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.1074, allocations: 20.38 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/0.1081, allocations: 418.1 kB / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1081, allocations: 0 / 476.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.1082, allocations: 15.98 kB / 476.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1082, allocations: 7.938 kB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.1088, allocations: 340.8 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.1104, allocations: 1.109 MB / 477.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.1113, allocations: 0.504 MB / 478.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.1118, allocations: 273 kB / 478.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.1128, allocations: 0.8705 MB / 479.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/0.1134, allocations: 488.5 kB / 480 MB, free: 3.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/0.1135, allocations: 0 / 480 MB, free: 3.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003346/0.1168, allocations: 1.406 MB / 481.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.1169, allocations: 247.5 kB / 481.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/0.1176, allocations: 0.6787 MB / 482.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.1177, allocations: 41.7 kB / 482.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1179, allocations: 260.8 kB / 482.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.118, allocations: 119 kB / 482.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.1181, allocations: 86.05 kB / 482.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1183, allocations: 374.8 kB / 483.2 MB, free: 468 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.1186, allocations: 204.8 kB / 483.4 MB, free: 264 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.1189, allocations: 307.1 kB / 483.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/0.1224, allocations: 1.394 MB / 485.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1224, allocations: 7.938 kB / 485.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001693/0.1241, allocations: 0.9387 MB / 486 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.1242, allocations: 71.33 kB / 486.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1242, allocations: 8.188 kB / 486.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.1256, allocations: 351.1 kB / 486.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.1258, allocations: 63.91 kB / 486.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.1282, allocations: 2.26 MB / 488.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.1287, allocations: 83.86 kB / 488.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.1288, allocations: 20 kB / 488.9 MB, free: 10.43 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.0004689/0.1292, allocations: 324.4 kB / 489.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/0.1293, allocations: 71.62 kB / 489.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.1315, allocations: 1.169 MB / 490.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1315, allocations: 4 kB / 490.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1316, allocations: 3.938 kB / 490.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1316, allocations: 0 / 490.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.1323, allocations: 0.5518 MB / 491 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1323, allocations: 0 / 491 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.1325, allocations: 31.98 kB / 491 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.1339, allocations: 405.9 kB / 491.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.134, allocations: 19.92 kB / 491.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.1366, allocations: 2.381 MB / 493.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1367, allocations: 4.031 kB / 493.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.1388, allocations: 1.166 MB / 495 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.1391, allocations: 204.5 kB / 495.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.1392, allocations: 20 kB / 495.2 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.1396, allocations: 63.88 kB / 495.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1397, allocations: 31.95 kB / 495.3 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.1398, allocations: 16 kB / 495.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005407/0.1403, allocations: 498.8 kB / 495.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1403, allocations: 0 / 495.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005237/0.1409, allocations: 147.9 kB / 495.9 MB, free: 3.023 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.0003058/0.1412, allocations: 174.9 kB / 496.1 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.1427, allocations: 0.877 MB / 497 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1427, allocations: 0 / 497 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009925/0.1437, allocations: 0.716 MB / 497.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.144, allocations: 66.92 kB / 497.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.1456, allocations: 1.084 MB / 498.9 MB, free: 0 / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.1461, allocations: 0.8795 MB / 499.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.1463, allocations: 55.25 kB / 499.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.1463, allocations: 39.42 kB / 499.8 MB, free: 15 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1464, allocations: 0 / 499.8 MB, free: 15 MB / 382.1 MB Notification: Performance of Templates: time 0.01347/0.1598, allocations: 8.428 MB / 0.4963 GB, free: 6.613 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)