Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",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.001171/0.001171, allocations: 181.9 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.319/1.319, 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.001033/0.001033, allocations: 102.4 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05806/0.05806, allocations: 8.106 MB / 345.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.029e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09129, allocations: 52.51 MB / 458.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4682, allocations: 79.61 MB / 0.5251 GB, free: 6.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4685, allocations: 69.56 kB / 0.5252 GB, free: 6.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02007/0.4886, allocations: 8.09 MB / 0.5331 GB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4886, allocations: 0 / 0.5331 GB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.4886, allocations: 4 kB / 0.5331 GB, free: 15.89 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001428/0.4901, allocations: 0.5933 MB / 0.5336 GB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.4901, allocations: 12.03 kB / 0.5336 GB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.89e-05/0.4902, allocations: 59.42 kB / 0.5337 GB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.4903, allocations: 27.67 kB / 0.5337 GB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.4906, allocations: 248.7 kB / 0.534 GB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.4906, allocations: 19.56 kB / 0.534 GB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.4907, allocations: 25.94 kB / 0.534 GB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.4912, allocations: 291.1 kB / 0.5343 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4912, allocations: 3.938 kB / 0.5343 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.4913, allocations: 9.75 kB / 0.5343 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4913, allocations: 7.953 kB / 0.5343 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.4917, allocations: 290 kB / 0.5346 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.4935, allocations: 0.9269 MB / 0.5355 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.4941, allocations: 364.6 kB / 0.5358 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.4943, allocations: 121 kB / 0.536 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.4946, allocations: 97.02 kB / 0.536 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4946, allocations: 30.56 kB / 0.5361 GB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 4.98e-06/0.4946, allocations: 7.938 kB / 0.5361 GB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007583/0.4954, allocations: 296.5 kB / 0.5364 GB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.4955, allocations: 67.23 kB / 0.5364 GB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4956, allocations: 156.2 kB / 0.5366 GB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.4957, allocations: 36.31 kB / 0.5366 GB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4958, allocations: 146.9 kB / 0.5368 GB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.4959, allocations: 88.44 kB / 0.5368 GB, free: 12.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.4959, allocations: 3.5 kB / 0.5368 GB, free: 12.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4961, allocations: 329.6 kB / 0.5372 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.4963, allocations: 112.9 kB / 0.5373 GB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.4964, allocations: 115.4 kB / 0.5374 GB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.4966, allocations: 121.4 kB / 0.5375 GB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4966, allocations: 0 / 0.5375 GB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006301/0.4973, allocations: 359.7 kB / 0.5378 GB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4973, allocations: 8 kB / 0.5378 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4973, allocations: 4 kB / 0.5378 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.4976, allocations: 51.44 kB / 0.5379 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.4979, allocations: 58.48 kB / 0.5379 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.4993, allocations: 1.437 MB / 0.5394 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4995, allocations: 18.97 kB / 0.5394 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.4995, allocations: 7.562 kB / 0.5394 GB, free: 10.3 MB / 362.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 () * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.4996, allocations: 121.2 kB / 0.5395 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.4997, allocations: 15.81 kB / 0.5395 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.5004, allocations: 349 kB / 0.5398 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5004, allocations: 8 kB / 0.5398 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.5004, allocations: 3.938 kB / 0.5399 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5004, allocations: 0 / 0.5399 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/0.5014, allocations: 0.7598 MB / 0.5406 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5014, allocations: 0 / 0.5406 GB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.5016, allocations: 43.92 kB / 0.5406 GB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.5018, allocations: 57.44 kB / 0.5407 GB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5018, allocations: 7.625 kB / 0.5407 GB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.503, allocations: 1.432 MB / 0.5421 GB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.503, allocations: 3.938 kB / 0.5421 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.5035, allocations: 391.8 kB / 0.5425 GB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.5036, allocations: 108.1 kB / 0.5426 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.5036, allocations: 3.438 kB / 0.5426 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.5038, allocations: 7.438 kB / 0.5426 GB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.5039, allocations: 19.91 kB / 0.5426 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.5039, allocations: 7.812 kB / 0.5426 GB, free: 7.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.504, allocations: 135.6 kB / 0.5427 GB, free: 7.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.504, allocations: 0 / 0.5427 GB, free: 7.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.5044, allocations: 86.56 kB / 0.5428 GB, free: 7.121 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.00085/0.5052, allocations: 0.9528 MB / 0.5438 GB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.5059, allocations: 400 kB / 0.5441 GB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5059, allocations: 0 / 0.5441 GB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.5063, allocations: 247.3 kB / 0.5444 GB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.5065, allocations: 15.08 kB / 0.5444 GB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/0.5072, allocations: 336.4 kB / 0.5447 GB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.5074, allocations: 0.7443 MB / 0.5454 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.5076, allocations: 29.53 kB / 0.5455 GB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.5077, allocations: 70.28 kB / 0.5455 GB, free: 4.59 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5077, allocations: 0 / 0.5455 GB, free: 4.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.5247, allocations: 4.534 MB / 0.55 GB, free: 188 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/0.525, allocations: 164.6 kB / 0.5501 GB, free: 15.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.092, allocations: 0 / 0.5501 GB, free: 15.96 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)