Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.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: "" <> buildModelFMU(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_FourVariableLoadsThreeFeeders",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_FourVariableLoadsThreeFeeders",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 180.6 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.4 MB / 235.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 90.83 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04464/0.04464, allocations: 8.098 MB / 345.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.045e-05/6.046e-05, allocations: 0 / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08648, allocations: 52.51 MB / 458.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4557, allocations: 85.57 MB / 0.5309 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.456, allocations: 64.28 kB / 0.531 GB, free: 492 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07296/0.529, allocations: 27 MB / 0.5573 GB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.529, allocations: 4 kB / 0.5573 GB, free: 10.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.805e-05/0.5291, allocations: 19.88 kB / 0.5573 GB, free: 10.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.006777/0.5359, allocations: 1.59 MB / 0.5589 GB, free: 9.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.536, allocations: 12.02 kB / 0.5589 GB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004713/0.5365, allocations: 112 kB / 0.559 GB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000607/0.5371, allocations: 118.7 kB / 0.5591 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.5386, allocations: 0.5834 MB / 0.5597 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.5387, allocations: 164.4 kB / 0.5599 GB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.539, allocations: 61.62 kB / 0.5599 GB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.541, allocations: 1.054 MB / 0.5609 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.5411, allocations: 0 / 0.5609 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.5412, allocations: 33.69 kB / 0.561 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.5412, allocations: 16 kB / 0.561 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.5429, allocations: 0.9574 MB / 0.5619 GB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007781/0.5507, allocations: 4.338 MB / 0.5662 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.553, allocations: 1.552 MB / 0.5677 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.5542, allocations: 0.738 MB / 0.5684 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.5545, allocations: 106.1 kB / 0.5685 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/0.5564, allocations: 0.9762 MB / 0.5695 GB, free: 15.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=123): time 4.438e-06/0.5564, allocations: 0 / 0.5695 GB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.004905/0.5613, allocations: 2.082 MB / 0.5715 GB, free: 12.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.5615, allocations: 256.3 kB / 0.5717 GB, free: 12.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.5626, allocations: 492.9 kB / 0.5722 GB, free: 12.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.5628, allocations: 49.7 kB / 0.5723 GB, free: 12.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.5631, allocations: 293.5 kB / 0.5725 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/0.5635, allocations: 390.4 kB / 0.5729 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.5636, allocations: 16 kB / 0.5729 GB, free: 11.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.5638, allocations: 394.7 kB / 0.5733 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.5648, allocations: 0.5569 MB / 0.5738 GB, free: 10.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.5659, allocations: 0.6486 MB / 0.5745 GB, free: 9.762 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.567, allocations: 0.6184 MB / 0.5751 GB, free: 9.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.567, allocations: 3.953 kB / 0.5751 GB, free: 9.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005404/0.5724, allocations: 2.227 MB / 0.5773 GB, free: 6.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.5725, allocations: 37.69 kB / 0.5773 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5725, allocations: 8 kB / 0.5773 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008946/0.5815, allocations: 2.222 MB / 0.5795 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.5822, allocations: 123.7 kB / 0.5796 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004212/0.5864, allocations: 2.168 MB / 0.5817 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.5877, allocations: 123.5 kB / 0.5818 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.5878, allocations: 39.97 kB / 0.5819 GB, free: 2.129 MB / 394.7 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = false ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.HVMV.tapChanger.tap,HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.furtherTapChangeTimeout,$PRE.varLoad1.degradedMode,varLoad1.degradedMode,$PRE.varLoad2.degradedMode,varLoad2.degradedMode,$PRE.varLoad3.degradedMode,varLoad3.degradedMode,$PRE.varLoad4.degradedMode,varLoad4.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {18 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004714/0.5883, allocations: 217.4 kB / 0.5821 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.5885, allocations: 106.8 kB / 0.5822 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/0.5927, allocations: 2.353 MB / 0.5845 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.5927, allocations: 15.94 kB / 0.5845 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5928, allocations: 0 / 0.5845 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.5928, allocations: 3.984 kB / 0.5845 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007308/0.6001, allocations: 4.442 MB / 0.5888 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.6001, allocations: 0 / 0.5888 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.6006, allocations: 123.8 kB / 0.5889 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008403/0.609, allocations: 2.026 MB / 0.5909 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/0.6093, allocations: 35.97 kB / 0.591 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.6136, allocations: 2.257 MB / 0.5932 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6137, allocations: 7.875 kB / 0.5932 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/0.618, allocations: 2.359 MB / 0.5955 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/0.6187, allocations: 359.5 kB / 0.5958 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.619, allocations: 35.98 kB / 0.5958 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.6203, allocations: 123.9 kB / 0.596 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.6206, allocations: 97.16 kB / 0.5961 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.6207, allocations: 51.98 kB / 0.5961 GB, free: 3.352 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006307/0.6214, allocations: 389.6 kB / 0.5965 GB, free: 2.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6214, allocations: 4 kB / 0.5965 GB, free: 2.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001076/0.6225, allocations: 315.7 kB / 0.5968 GB, free: 2.66 MB / 410.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: 18 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,HVMV.tapChanger.tap,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.furtherTapChangeTimeout,varLoad1.degradedMode,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode) * Number of discrete states: 14 (HVMV.tapChanger.tap,HVMV.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,HVMV.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.normalU,varLoad2.degradedMode,varLoad4.degradedMode,varLoad3.degradedMode,varLoad1.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {18 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.005572/0.6281, allocations: 3.263 MB / 0.6 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004508/0.6326, allocations: 1.819 MB / 0.6017 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.6326, allocations: 0.7812 kB / 0.6017 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0033/0.6359, allocations: 1.275 MB / 0.603 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008362/0.6368, allocations: 95.89 kB / 0.6031 GB, free: 12.25 MB / 426.7 MB Warning: Could not resolve URI (loadFile) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.6403, allocations: 1.423 MB / 0.6045 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.6409, allocations: 0.9892 MB / 0.6054 GB, free: 9.773 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000442/0.6413, allocations: 110.1 kB / 0.6055 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.6418, allocations: 323.2 kB / 0.6059 GB, free: 9.352 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6418, allocations: 0 / 0.6059 GB, free: 9.352 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/0.7798, allocations: 26.6 MB / 0.6318 GB, free: 14.92 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.7801, allocations: 222.5 kB / 0.632 GB, free: 14.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.708, allocations: 4 kB / 0.632 GB, free: 14.69 MB / 458.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_FourVariableLoadsThreeFeeders_fmu --startTime=0 --stopTime=3.15324e+07 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_FourVariableLoadsThreeFeeders.fmu > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe 2>&1)