Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.002346/0.002347, allocations: 181.1 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.629/1.629, allocations: 223.2 MB / 239.7 MB, free: 1.777 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.001002/0.001002, allocations: 103.2 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07179/0.07179, allocations: 8.108 MB / 350.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 8.5 kB / 413.2 MB, free: 89.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1396, allocations: 52.54 MB / 465.7 MB, free: 41.98 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/0.5582, allocations: 79.85 MB / 0.5328 GB, free: 16.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/0.5587, allocations: 62.31 kB / 0.5328 GB, free: 16.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.5751, allocations: 6.375 MB / 0.5391 GB, free: 31.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5751, allocations: 0 / 0.5391 GB, free: 31.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.5751, allocations: 3.906 kB / 0.5391 GB, free: 31.92 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001304/0.5765, allocations: 0.5653 MB / 0.5396 GB, free: 31.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5765, allocations: 7.75 kB / 0.5396 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.5766, allocations: 40.16 kB / 0.5397 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.5766, allocations: 21.38 kB / 0.5397 GB, free: 31.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.5769, allocations: 228.7 kB / 0.5399 GB, free: 31.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5769, allocations: 4.109 kB / 0.5399 GB, free: 31.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.577, allocations: 11.69 kB / 0.5399 GB, free: 31.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.5773, allocations: 199 kB / 0.5401 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5773, allocations: 5.719 kB / 0.5401 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.5773, allocations: 7.891 kB / 0.5401 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5773, allocations: 11.86 kB / 0.5401 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.5776, allocations: 155.2 kB / 0.5403 GB, free: 31.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.5787, allocations: 0.756 MB / 0.541 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.5791, allocations: 201.3 kB / 0.5412 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.5792, allocations: 90.33 kB / 0.5413 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.5793, allocations: 34.5 kB / 0.5413 GB, free: 30.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.5793, allocations: 0 / 0.5413 GB, free: 30.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001913/0.5812, allocations: 0.5925 MB / 0.5419 GB, free: 30.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.5812, allocations: 77.11 kB / 0.542 GB, free: 30.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.5814, allocations: 157.8 kB / 0.5421 GB, free: 30.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.5814, allocations: 33.33 kB / 0.5422 GB, free: 30.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.5815, allocations: 116.7 kB / 0.5423 GB, free: 30.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.5815, allocations: 61.27 kB / 0.5423 GB, free: 30.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.5816, allocations: 3.625 kB / 0.5423 GB, free: 30.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.5816, allocations: 331.5 kB / 0.5426 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.5818, allocations: 81.52 kB / 0.5427 GB, free: 29.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.5819, allocations: 107.2 kB / 0.5428 GB, free: 29.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.5821, allocations: 87.86 kB / 0.5429 GB, free: 29.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5821, allocations: 3.969 kB / 0.5429 GB, free: 29.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009595/0.5831, allocations: 381.4 kB / 0.5433 GB, free: 29.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5831, allocations: 3.938 kB / 0.5433 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5831, allocations: 0 / 0.5433 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009487/0.5841, allocations: 185.5 kB / 0.5435 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5842, allocations: 32.22 kB / 0.5435 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.5865, allocations: 1.85 MB / 0.5453 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.5867, allocations: 19.12 kB / 0.5453 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.5868, allocations: 10.08 kB / 0.5453 GB, free: 28.36 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 (16): * Single equations (assignments): 15 * 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 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.5869, allocations: 128.3 kB / 0.5454 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.587, allocations: 21.47 kB / 0.5455 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.588, allocations: 388.1 kB / 0.5458 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.588, allocations: 0 / 0.5458 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.588, allocations: 7.797 kB / 0.5458 GB, free: 28.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5881, allocations: 3.516 kB / 0.5458 GB, free: 28.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.5884, allocations: 314.1 kB / 0.5461 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5884, allocations: 3.938 kB / 0.5461 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5885, allocations: 29.34 kB / 0.5462 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008721/0.5894, allocations: 185.2 kB / 0.5464 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.5894, allocations: 6.328 kB / 0.5464 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.5915, allocations: 1.833 MB / 0.5481 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5915, allocations: 4.328 kB / 0.5482 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009786/0.5925, allocations: 443.9 kB / 0.5486 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.5926, allocations: 99.38 kB / 0.5487 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.5926, allocations: 0 / 0.5487 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.5928, allocations: 26.94 kB / 0.5487 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.5929, allocations: 12.48 kB / 0.5487 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.5929, allocations: 13.28 kB / 0.5487 GB, free: 26.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.5931, allocations: 139.1 kB / 0.5489 GB, free: 26.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5931, allocations: 3.938 kB / 0.5489 GB, free: 26.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.5934, allocations: 67.83 kB / 0.5489 GB, free: 26.31 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 (15): * Single equations (assignments): 14 * 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 {3 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/0.5948, allocations: 0.9994 MB / 0.5499 GB, free: 25.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008067/0.5956, allocations: 372.8 kB / 0.5503 GB, free: 25.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5956, allocations: 3.75 kB / 0.5503 GB, free: 25.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.5962, allocations: 278.8 kB / 0.5505 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.5964, allocations: 18.23 kB / 0.5505 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.5986, allocations: 1.237 MB / 0.5517 GB, free: 24.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.599, allocations: 0.7284 MB / 0.5525 GB, free: 24.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.5991, allocations: 17.11 kB / 0.5525 GB, free: 24.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.5992, allocations: 49.72 kB / 0.5525 GB, free: 24.16 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5992, allocations: 0 / 0.5525 GB, free: 24.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.622, allocations: 5.483 MB / 0.5579 GB, free: 23.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.6222, allocations: 205.8 kB / 0.5581 GB, free: 23.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.404, allocations: 7.875 kB / 0.5581 GB, free: 23.47 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)