Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 173.1 kB / 8.042 MB, free: 1.043 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.5 MB / 230 MB, free: 7.543 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 92.72 kB / 280.9 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04379/0.04379, allocations: 8.095 MB / 339.8 MB, free: 7.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.749e-05, allocations: 3.469 kB / 398.5 MB, free: 49.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 52.53 MB / 451 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.2252, allocations: 81.77 MB / 0.5203 GB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.2254, allocations: 67.97 kB / 0.5203 GB, free: 3.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2628/0.4883, allocations: 12.01 MB / 0.5321 GB, free: 79.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4883, allocations: 0 / 0.5321 GB, free: 79.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.4884, allocations: 6.094 kB / 0.5321 GB, free: 79.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002513/0.4909, allocations: 0.9002 MB / 0.533 GB, free: 78.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4909, allocations: 12.83 kB / 0.533 GB, free: 78.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.4911, allocations: 45.78 kB / 0.533 GB, free: 78.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.4915, allocations: 352.4 kB / 0.5333 GB, free: 78.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.4916, allocations: 40.23 kB / 0.5334 GB, free: 78.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.4917, allocations: 21.84 kB / 0.5334 GB, free: 78.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006402/0.4923, allocations: 408.8 kB / 0.5338 GB, free: 78.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.493, allocations: 403.5 kB / 0.5342 GB, free: 78.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.493, allocations: 1.031 kB / 0.5342 GB, free: 78.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.4931, allocations: 5.922 kB / 0.5342 GB, free: 78.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.4931, allocations: 6.125 kB / 0.5342 GB, free: 78.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.4962, allocations: 2.101 MB / 0.5362 GB, free: 77.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.4973, allocations: 0.5025 MB / 0.5367 GB, free: 77.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.4977, allocations: 281.9 kB / 0.537 GB, free: 77.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.029e-05/0.4978, allocations: 17.2 kB / 0.537 GB, free: 77.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006951/0.4985, allocations: 493.6 kB / 0.5375 GB, free: 77.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.805e-06/0.4985, allocations: 0 / 0.5375 GB, free: 77.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.003244/0.5017, allocations: 1.181 MB / 0.5386 GB, free: 76.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.5018, allocations: 198.5 kB / 0.5388 GB, free: 76.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.5021, allocations: 285.9 kB / 0.5391 GB, free: 76.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.5021, allocations: 25.7 kB / 0.5391 GB, free: 76.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.5022, allocations: 186.2 kB / 0.5393 GB, free: 76.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.5023, allocations: 147.7 kB / 0.5395 GB, free: 76.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.5024, allocations: 0 / 0.5395 GB, free: 76.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.5024, allocations: 350.3 kB / 0.5398 GB, free: 75.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.5027, allocations: 229.3 kB / 0.54 GB, free: 75.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.503, allocations: 276.8 kB / 0.5403 GB, free: 75.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.5036, allocations: 267.5 kB / 0.5405 GB, free: 75.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5036, allocations: 0 / 0.5405 GB, free: 75.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001187/0.5048, allocations: 0.8086 MB / 0.5413 GB, free: 74.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.5048, allocations: 45.56 kB / 0.5414 GB, free: 74.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5049, allocations: 4.094 kB / 0.5414 GB, free: 74.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003213/0.5081, allocations: 0.7943 MB / 0.5421 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.5083, allocations: 66.38 kB / 0.5422 GB, free: 74.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.5098, allocations: 1.287 MB / 0.5435 GB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.5104, allocations: 75.75 kB / 0.5435 GB, free: 73.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.5105, allocations: 24.05 kB / 0.5435 GB, free: 73.13 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = false ) "Current tap position" type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varTra.UB:VARIABLE(unit = "V" ) "Voltage at port B" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.5108, allocations: 184.1 kB / 0.5437 GB, free: 72.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.5109, allocations: 43.53 kB / 0.5438 GB, free: 72.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.513, allocations: 1.147 MB / 0.5449 GB, free: 71.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.513, allocations: 4 kB / 0.5449 GB, free: 71.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5131, allocations: 0 / 0.5449 GB, free: 71.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5131, allocations: 3.984 kB / 0.5449 GB, free: 71.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.5137, allocations: 0.6165 MB / 0.5455 GB, free: 71.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5137, allocations: 7.953 kB / 0.5455 GB, free: 71.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.5138, allocations: 51.91 kB / 0.5456 GB, free: 71.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/0.5169, allocations: 0.8303 MB / 0.5464 GB, free: 70.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.517, allocations: 19.98 kB / 0.5464 GB, free: 70.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.5186, allocations: 1.354 MB / 0.5477 GB, free: 68.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.5186, allocations: 0 / 0.5477 GB, free: 68.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.5206, allocations: 1.113 MB / 0.5488 GB, free: 67.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.5209, allocations: 212.2 kB / 0.549 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.521, allocations: 15.95 kB / 0.549 GB, free: 67.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.5216, allocations: 71.92 kB / 0.5491 GB, free: 67.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5217, allocations: 47.94 kB / 0.5491 GB, free: 67.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.5218, allocations: 19.98 kB / 0.5491 GB, free: 67.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.5221, allocations: 224.6 kB / 0.5494 GB, free: 67.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5221, allocations: 0 / 0.5494 GB, free: 67.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005686/0.5226, allocations: 119.9 kB / 0.5495 GB, free: 66.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003258/0.523, allocations: 156.8 kB / 0.5496 GB, free: 66.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.5245, allocations: 0.7847 MB / 0.5504 GB, free: 65.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.5245, allocations: 0 / 0.5504 GB, free: 65.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.5256, allocations: 0.6233 MB / 0.551 GB, free: 65.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.5259, allocations: 35.44 kB / 0.551 GB, free: 65.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.527, allocations: 0.5302 MB / 0.5515 GB, free: 64.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.5273, allocations: 0.8203 MB / 0.5523 GB, free: 63.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.5274, allocations: 43.25 kB / 0.5524 GB, free: 63.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.5276, allocations: 35.42 kB / 0.5524 GB, free: 63.84 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5276, allocations: 0 / 0.5524 GB, free: 63.84 MB / 362.7 MB Notification: Performance of Templates: time 0.01205/0.5396, allocations: 8.412 MB / 0.5606 GB, free: 55.5 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)