Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",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.001169/0.001169, allocations: 179.8 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.648/1.648, allocations: 223.2 MB / 239.7 MB, free: 1.773 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.001077/0.001077, allocations: 100.3 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.08238/0.08238, allocations: 8.098 MB / 350.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.000423, allocations: 8.656 kB / 413.2 MB, free: 89.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 52.54 MB / 465.7 MB, free: 41.96 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.525/0.6851, allocations: 79.04 MB / 0.532 GB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6855, allocations: 63.36 kB / 0.532 GB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01209/0.6976, allocations: 4.546 MB / 0.5365 GB, free: 32.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6976, allocations: 0 / 0.5365 GB, free: 32.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.6976, allocations: 3.844 kB / 0.5365 GB, free: 32.02 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007886/0.6984, allocations: 445.9 kB / 0.5369 GB, free: 31.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.6985, allocations: 7.844 kB / 0.5369 GB, free: 31.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.6986, allocations: 46.14 kB / 0.537 GB, free: 31.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.6986, allocations: 19.48 kB / 0.537 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.6988, allocations: 181.9 kB / 0.5371 GB, free: 31.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.6988, allocations: 7.656 kB / 0.5372 GB, free: 31.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.6989, allocations: 14.75 kB / 0.5372 GB, free: 31.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.6991, allocations: 133.5 kB / 0.5373 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6992, allocations: 4.625 kB / 0.5373 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.6992, allocations: 3.875 kB / 0.5373 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.6992, allocations: 11.92 kB / 0.5373 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.6994, allocations: 105.2 kB / 0.5374 GB, free: 31.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.7003, allocations: 493.2 kB / 0.5379 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.7006, allocations: 105.1 kB / 0.538 GB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.7008, allocations: 90.81 kB / 0.5381 GB, free: 30.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.7008, allocations: 30.56 kB / 0.5381 GB, free: 30.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.7008, allocations: 0 / 0.5381 GB, free: 30.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006002/0.7014, allocations: 233.6 kB / 0.5383 GB, free: 30.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.7015, allocations: 52.02 kB / 0.5384 GB, free: 30.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.7016, allocations: 123.9 kB / 0.5385 GB, free: 30.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.7016, allocations: 29.58 kB / 0.5385 GB, free: 30.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.7017, allocations: 120.6 kB / 0.5386 GB, free: 30.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.7017, allocations: 26.17 kB / 0.5387 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.7018, allocations: 0 / 0.5387 GB, free: 30.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.7019, allocations: 324.5 kB / 0.539 GB, free: 30.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.7019, allocations: 26.27 kB / 0.539 GB, free: 30.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.485e-05/0.702, allocations: 30.67 kB / 0.539 GB, free: 30.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.702, allocations: 32.52 kB / 0.5391 GB, free: 30.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.702, allocations: 0 / 0.5391 GB, free: 30.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002515/0.7023, allocations: 135.7 kB / 0.5392 GB, free: 30.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.7023, allocations: 3.875 kB / 0.5392 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7023, allocations: 0.7969 kB / 0.5392 GB, free: 30.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.7026, allocations: 43.41 kB / 0.5392 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.7027, allocations: 14.36 kB / 0.5392 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.7038, allocations: 1.316 MB / 0.5405 GB, free: 28.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.7039, allocations: 12.56 kB / 0.5405 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.704, allocations: 5.141 kB / 0.5405 GB, free: 28.73 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 (9): * Single equations (assignments): 8 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.7041, allocations: 117.7 kB / 0.5407 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.7041, allocations: 11.77 kB / 0.5407 GB, free: 28.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.7044, allocations: 131.5 kB / 0.5408 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7044, allocations: 0 / 0.5408 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7044, allocations: 0 / 0.5408 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.7044, allocations: 8.484 kB / 0.5408 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.7048, allocations: 222.6 kB / 0.541 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7048, allocations: 0 / 0.541 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.7048, allocations: 9.156 kB / 0.541 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.705, allocations: 36.38 kB / 0.5411 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.705, allocations: 3.938 kB / 0.5411 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.7061, allocations: 1.312 MB / 0.5423 GB, free: 27.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7062, allocations: 0 / 0.5423 GB, free: 27.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.7064, allocations: 211.2 kB / 0.5425 GB, free: 26.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.7065, allocations: 87.2 kB / 0.5426 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.7065, allocations: 4.594 kB / 0.5426 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.7067, allocations: 13.86 kB / 0.5426 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.7067, allocations: 9.844 kB / 0.5427 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.7067, allocations: 0.6562 kB / 0.5427 GB, free: 26.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.7068, allocations: 115.2 kB / 0.5428 GB, free: 26.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7068, allocations: 0 / 0.5428 GB, free: 26.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.7072, allocations: 36.3 kB / 0.5428 GB, free: 26.75 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 (6): * Single equations (assignments): 5 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000716/0.7079, allocations: 0.7483 MB / 0.5435 GB, free: 26.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.7083, allocations: 183.8 kB / 0.5437 GB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7083, allocations: 4 kB / 0.5437 GB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.7085, allocations: 145.6 kB / 0.5438 GB, free: 25.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.7088, allocations: 9.828 kB / 0.5439 GB, free: 25.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.71, allocations: 0.7118 MB / 0.5445 GB, free: 25.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.7103, allocations: 0.7111 MB / 0.5452 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.7104, allocations: 10.11 kB / 0.5453 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.7104, allocations: 31.02 kB / 0.5453 GB, free: 24.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7104, allocations: 0 / 0.5453 GB, free: 24.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.7264, allocations: 2.574 MB / 0.5478 GB, free: 24.42 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.7267, allocations: 202.7 kB / 0.548 GB, free: 24.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.402, allocations: 0 / 0.548 GB, free: 24.18 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)