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.00169/0.001689, allocations: 180.9 kB / 8.049 MB, free: 1.027 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.387/1.387, allocations: 221.5 MB / 230 MB, free: 7.566 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.000914/0.0009141, allocations: 97.64 kB / 280.9 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04092/0.04092, allocations: 8.095 MB / 339.7 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.986e-05, allocations: 2.75 kB / 398.6 MB, free: 49.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.0986, allocations: 52.53 MB / 451.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.2196, allocations: 84.64 MB / 0.5232 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.2199, allocations: 63.98 kB / 0.5232 GB, free: 472 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2981/0.518, allocations: 26.55 MB / 0.5492 GB, free: 68.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.518, allocations: 0 / 0.5492 GB, free: 68.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.481e-05/0.5181, allocations: 20 kB / 0.5492 GB, free: 68.21 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.005098/0.5232, allocations: 1.595 MB / 0.5507 GB, free: 66.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5232, allocations: 15.98 kB / 0.5507 GB, free: 66.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.5235, allocations: 110.8 kB / 0.5509 GB, free: 66.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.5244, allocations: 0.5881 MB / 0.5514 GB, free: 65.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.5244, allocations: 140.1 kB / 0.5516 GB, free: 65.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.5246, allocations: 40 kB / 0.5516 GB, free: 65.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/0.5258, allocations: 0.9173 MB / 0.5525 GB, free: 64.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.5271, allocations: 0.9655 MB / 0.5534 GB, free: 63.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5271, allocations: 0 / 0.5534 GB, free: 63.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.5272, allocations: 11.98 kB / 0.5534 GB, free: 63.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.5272, allocations: 16 kB / 0.5535 GB, free: 63.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004993/0.5322, allocations: 4.223 MB / 0.5576 GB, free: 59.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.5337, allocations: 1.502 MB / 0.5591 GB, free: 57.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007666/0.5345, allocations: 0.6984 MB / 0.5597 GB, free: 56.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.5347, allocations: 118.4 kB / 0.5599 GB, free: 56.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.5358, allocations: 0.9285 MB / 0.5608 GB, free: 55.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 2.815e-06/0.5358, allocations: 0 / 0.5608 GB, free: 55.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.005063/0.5408, allocations: 2.254 MB / 0.563 GB, free: 53.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.5409, allocations: 256.6 kB / 0.5632 GB, free: 53.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.5414, allocations: 458.4 kB / 0.5636 GB, free: 52.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.5415, allocations: 29.7 kB / 0.5637 GB, free: 52.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.5417, allocations: 297.5 kB / 0.564 GB, free: 52.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.5419, allocations: 382.2 kB / 0.5643 GB, free: 52.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.542, allocations: 4 kB / 0.5643 GB, free: 52.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.5421, allocations: 386.8 kB / 0.5647 GB, free: 51.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/0.5427, allocations: 0.5416 MB / 0.5652 GB, free: 51.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.5434, allocations: 0.6125 MB / 0.5658 GB, free: 50.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.5446, allocations: 0.6076 MB / 0.5664 GB, free: 49.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5446, allocations: 3.938 kB / 0.5664 GB, free: 49.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002751/0.5474, allocations: 1.822 MB / 0.5682 GB, free: 48.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.5475, allocations: 37.69 kB / 0.5682 GB, free: 48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.5475, allocations: 0 / 0.5682 GB, free: 48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006943/0.5544, allocations: 1.905 MB / 0.5701 GB, free: 46.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.5549, allocations: 119.8 kB / 0.5702 GB, free: 45.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.5583, allocations: 2.275 MB / 0.5724 GB, free: 43.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.5594, allocations: 111.4 kB / 0.5725 GB, free: 43.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.325e-05/0.5595, allocations: 39.97 kB / 0.5726 GB, free: 43.52 MB / 362.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad2.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real varLoad2.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real varLoad3.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varLoad4.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varLoad1.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real HVMV.UB:VARIABLE(unit = "V" ) "Voltage at port B" type: Real 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.0003649/0.5599, allocations: 189.7 kB / 0.5728 GB, free: 43.32 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00503/0.5649, allocations: 2.379 MB / 0.5751 GB, free: 40.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.5651, allocations: 94.97 kB / 0.5752 GB, free: 40.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/0.5687, allocations: 2.234 MB / 0.5773 GB, free: 38.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.5687, allocations: 12 kB / 0.5774 GB, free: 38.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5687, allocations: 0 / 0.5774 GB, free: 38.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5688, allocations: 3.984 kB / 0.5774 GB, free: 38.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/0.5743, allocations: 4.169 MB / 0.5814 GB, free: 34.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5744, allocations: 7.938 kB / 0.5814 GB, free: 34.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.5748, allocations: 111.9 kB / 0.5815 GB, free: 34.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00695/0.5817, allocations: 1.948 MB / 0.5834 GB, free: 32.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/0.5821, allocations: 19.98 kB / 0.5835 GB, free: 32.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/0.5859, allocations: 2.361 MB / 0.5858 GB, free: 29.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.5859, allocations: 0 / 0.5858 GB, free: 29.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/0.5893, allocations: 2.19 MB / 0.5879 GB, free: 27.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.5899, allocations: 359.5 kB / 0.5883 GB, free: 27.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.5901, allocations: 16 kB / 0.5883 GB, free: 27.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.5911, allocations: 107.8 kB / 0.5884 GB, free: 27.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.5913, allocations: 97.17 kB / 0.5885 GB, free: 27.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.173e-05/0.5914, allocations: 51.97 kB / 0.5885 GB, free: 27.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003718/0.5918, allocations: 358.9 kB / 0.5889 GB, free: 26.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5918, allocations: 4 kB / 0.5889 GB, free: 26.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000731/0.5925, allocations: 275.7 kB / 0.5891 GB, free: 26.4 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: 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,varLoad4.degradedMode,varLoad3.degradedMode,varLoad2.degradedMode,varLoad1.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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.004052/0.5966, allocations: 3.027 MB / 0.5921 GB, free: 23.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003612/0.6002, allocations: 1.765 MB / 0.5938 GB, free: 21.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6002, allocations: 0.7812 kB / 0.5938 GB, free: 21.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.6029, allocations: 1.246 MB / 0.595 GB, free: 20.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/0.6036, allocations: 71.94 kB / 0.5951 GB, free: 20.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.6061, allocations: 1.317 MB / 0.5964 GB, free: 18.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.6064, allocations: 0.9853 MB / 0.5973 GB, free: 17.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.6068, allocations: 110.1 kB / 0.5974 GB, free: 17.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.6072, allocations: 311.3 kB / 0.5977 GB, free: 17.54 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6072, allocations: 4 kB / 0.5977 GB, free: 17.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/0.7408, allocations: 24.85 MB / 0.622 GB, free: 8.762 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/0.7411, allocations: 177.9 kB / 0.6222 GB, free: 8.559 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.296, allocations: 0 / 0.6222 GB, free: 8.559 MB / 378.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)