Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.001386/0.001386, allocations: 180.5 kB / 15.8 MB, free: 6.34 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.483/1.483, allocations: 223.2 MB / 239.7 MB, free: 1.762 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.000859/0.000859, allocations: 103.5 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04444/0.04444, allocations: 8.104 MB / 350.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 7.719 kB / 413.2 MB, free: 89.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09123, allocations: 52.53 MB / 465.7 MB, free: 41.95 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.453, allocations: 81.36 MB / 0.5342 GB, free: 16.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4533, allocations: 64.66 kB / 0.5343 GB, free: 16.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03246/0.4857, allocations: 13.7 MB / 0.5477 GB, free: 31.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4858, allocations: 1.75 kB / 0.5477 GB, free: 31.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.4858, allocations: 7.781 kB / 0.5477 GB, free: 31.16 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002715/0.4885, allocations: 0.9599 MB / 0.5486 GB, free: 30.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4886, allocations: 15.66 kB / 0.5486 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.333e-05/0.4887, allocations: 68.69 kB / 0.5487 GB, free: 30.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/0.4888, allocations: 42.97 kB / 0.5487 GB, free: 30.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.4892, allocations: 353 kB / 0.5491 GB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4893, allocations: 26.84 kB / 0.5491 GB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.4893, allocations: 29.81 kB / 0.5491 GB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.4901, allocations: 0.508 MB / 0.5496 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4901, allocations: 0 / 0.5496 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.4901, allocations: 18.47 kB / 0.5497 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4901, allocations: 7.781 kB / 0.5497 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.4908, allocations: 449.2 kB / 0.5501 GB, free: 30.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.4935, allocations: 2.229 MB / 0.5523 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.4942, allocations: 0.5819 MB / 0.5528 GB, free: 28.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.4944, allocations: 94.5 kB / 0.5529 GB, free: 28.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.4944, allocations: 34.5 kB / 0.553 GB, free: 28.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.403e-06/0.4944, allocations: 0 / 0.553 GB, free: 28.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.006273/0.5007, allocations: 1.852 MB / 0.5548 GB, free: 28.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.5008, allocations: 108 kB / 0.5549 GB, free: 28.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.5011, allocations: 245.5 kB / 0.5551 GB, free: 28.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.5011, allocations: 38.05 kB / 0.5551 GB, free: 28.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.5012, allocations: 182.7 kB / 0.5553 GB, free: 28.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.5013, allocations: 144.2 kB / 0.5555 GB, free: 28.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.5014, allocations: 5.062 kB / 0.5555 GB, free: 28.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5015, allocations: 350 kB / 0.5558 GB, free: 27.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.5019, allocations: 227.5 kB / 0.556 GB, free: 27.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.5022, allocations: 272.4 kB / 0.5563 GB, free: 27.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.5026, allocations: 251.5 kB / 0.5565 GB, free: 27.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5026, allocations: 3.938 kB / 0.5565 GB, free: 27.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003307/0.506, allocations: 1.107 MB / 0.5576 GB, free: 27.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.506, allocations: 8.547 kB / 0.5576 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.506, allocations: 1.156 kB / 0.5576 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003369/0.5094, allocations: 0.7006 MB / 0.5583 GB, free: 27.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.5097, allocations: 58.12 kB / 0.5583 GB, free: 27.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.5161, allocations: 3.821 MB / 0.5621 GB, free: 26.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.5166, allocations: 40.69 kB / 0.5621 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.5166, allocations: 14.56 kB / 0.5621 GB, free: 26.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.5169, allocations: 156.5 kB / 0.5623 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.517, allocations: 40.09 kB / 0.5623 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.5204, allocations: 1.22 MB / 0.5635 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5205, allocations: 4.625 kB / 0.5635 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.5205, allocations: 0 / 0.5635 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5205, allocations: 7.359 kB / 0.5635 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.5246, allocations: 1.9 MB / 0.5654 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5246, allocations: 0 / 0.5654 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.5249, allocations: 64.64 kB / 0.5654 GB, free: 25.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003281/0.5282, allocations: 0.677 MB / 0.5661 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.5282, allocations: 9.469 kB / 0.5661 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006481/0.5347, allocations: 3.784 MB / 0.5698 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5347, allocations: 0 / 0.5698 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/0.5381, allocations: 1.217 MB / 0.571 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.5383, allocations: 130.6 kB / 0.5711 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.5383, allocations: 10.53 kB / 0.5711 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.5387, allocations: 33.48 kB / 0.5712 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5388, allocations: 38.72 kB / 0.5712 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.5389, allocations: 17.61 kB / 0.5712 GB, free: 23.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.5392, allocations: 202.5 kB / 0.5714 GB, free: 23.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5392, allocations: 1.375 kB / 0.5714 GB, free: 23.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007072/0.5399, allocations: 177.3 kB / 0.5716 GB, free: 23.77 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003846/0.5437, allocations: 1.786 MB / 0.5733 GB, free: 23.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.546, allocations: 0.8601 MB / 0.5742 GB, free: 22.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.546, allocations: 4.906 kB / 0.5742 GB, free: 22.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.5476, allocations: 0.611 MB / 0.5748 GB, free: 22.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.5479, allocations: 26.81 kB / 0.5748 GB, free: 22.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/0.554, allocations: 2.993 MB / 0.5777 GB, free: 21.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.5544, allocations: 0.8213 MB / 0.5785 GB, free: 20.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.5546, allocations: 50.11 kB / 0.5786 GB, free: 20.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.5548, allocations: 132.8 kB / 0.5787 GB, free: 20.84 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5548, allocations: 0 / 0.5787 GB, free: 20.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.5809, allocations: 13.77 MB / 0.5921 GB, free: 14.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.5812, allocations: 236.7 kB / 0.5924 GB, free: 13.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.856, allocations: 0 / 0.5924 GB, free: 13.97 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)