Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.001368/0.001367, allocations: 182.3 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.453/1.453, allocations: 221.4 MB / 235.1 MB, free: 14.43 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.0009879/0.0009881, allocations: 98.12 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.05781/0.05781, allocations: 8.112 MB / 345.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.334e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 52.51 MB / 458.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4982, allocations: 79.55 MB / 0.525 GB, free: 6.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4984, allocations: 63.31 kB / 0.5251 GB, free: 6.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03195/0.5304, allocations: 11.63 MB / 0.5364 GB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.188e-06/0.5304, allocations: 4 kB / 0.5364 GB, free: 13.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.84e-05/0.5305, allocations: 4 kB / 0.5364 GB, free: 13.1 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002454/0.5329, allocations: 0.7849 MB / 0.5372 GB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.533, allocations: 8.031 kB / 0.5372 GB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.5332, allocations: 64.91 kB / 0.5373 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.5333, allocations: 52.8 kB / 0.5373 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.5339, allocations: 331.2 kB / 0.5376 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.534, allocations: 23.75 kB / 0.5377 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.534, allocations: 25.75 kB / 0.5377 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.5348, allocations: 410.7 kB / 0.5381 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5348, allocations: 0 / 0.5381 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.5349, allocations: 13.94 kB / 0.5381 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5349, allocations: 11.95 kB / 0.5381 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.5355, allocations: 399.1 kB / 0.5385 GB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.5383, allocations: 1.656 MB / 0.5401 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.5398, allocations: 0.5421 MB / 0.5406 GB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.5402, allocations: 288.7 kB / 0.5409 GB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.5405, allocations: 89.47 kB / 0.541 GB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.5405, allocations: 50.48 kB / 0.541 GB, free: 9.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/0.5405, allocations: 0 / 0.541 GB, free: 9.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.002579/0.5431, allocations: 0.8561 MB / 0.5419 GB, free: 8.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.5432, allocations: 55.41 kB / 0.5419 GB, free: 8.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.5435, allocations: 258 kB / 0.5422 GB, free: 8.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.5436, allocations: 29.58 kB / 0.5422 GB, free: 8.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.5437, allocations: 167.6 kB / 0.5424 GB, free: 8.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.544, allocations: 158.6 kB / 0.5425 GB, free: 8.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.544, allocations: 14.12 kB / 0.5425 GB, free: 8.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5442, allocations: 339.7 kB / 0.5429 GB, free: 7.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.5446, allocations: 222.8 kB / 0.5431 GB, free: 7.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.5449, allocations: 228.7 kB / 0.5433 GB, free: 7.645 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.5454, allocations: 241.6 kB / 0.5435 GB, free: 7.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.5454, allocations: 0 / 0.5435 GB, free: 7.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002305/0.5477, allocations: 0.9116 MB / 0.5444 GB, free: 6.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.5478, allocations: 4 kB / 0.5444 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5478, allocations: 0 / 0.5444 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/0.5501, allocations: 416.7 kB / 0.5448 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.5505, allocations: 51.91 kB / 0.5449 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007145/0.5576, allocations: 5.652 MB / 0.5504 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.5581, allocations: 27 kB / 0.5504 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.5582, allocations: 15.36 kB / 0.5504 GB, free: 1.438 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.5584, allocations: 131.3 kB / 0.5505 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.5585, allocations: 31.62 kB / 0.5506 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.5609, allocations: 0.9806 MB / 0.5515 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5609, allocations: 11.95 kB / 0.5515 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5609, allocations: 0 / 0.5515 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5609, allocations: 3.984 kB / 0.5515 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.5617, allocations: 0.6081 MB / 0.5521 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5617, allocations: 0 / 0.5521 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.5619, allocations: 59.34 kB / 0.5522 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.5637, allocations: 406.5 kB / 0.5526 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/0.5637, allocations: 17.11 kB / 0.5526 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006215/0.5699, allocations: 5.6 MB / 0.5581 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.57, allocations: 0 / 0.5581 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.5724, allocations: 0.9901 MB / 0.559 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.5726, allocations: 120.6 kB / 0.5592 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.5727, allocations: 11.98 kB / 0.5592 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.5731, allocations: 35.98 kB / 0.5592 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.5733, allocations: 40.33 kB / 0.5592 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.5733, allocations: 16 kB / 0.5593 GB, free: 8.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.5736, allocations: 207.1 kB / 0.5594 GB, free: 8.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5736, allocations: 0 / 0.5594 GB, free: 8.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006848/0.5743, allocations: 171.8 kB / 0.5596 GB, free: 8.617 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002724/0.577, allocations: 1.574 MB / 0.5612 GB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.5791, allocations: 0.9967 MB / 0.5621 GB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.5792, allocations: 4 kB / 0.5621 GB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.5807, allocations: 0.748 MB / 0.5629 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.5813, allocations: 42.75 kB / 0.5629 GB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.5829, allocations: 0.5835 MB / 0.5635 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.5834, allocations: 0.8053 MB / 0.5643 GB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.5837, allocations: 54.86 kB / 0.5643 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.5839, allocations: 119.4 kB / 0.5644 GB, free: 3.508 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5839, allocations: 0 / 0.5644 GB, free: 3.508 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.6166, allocations: 13.02 MB / 0.5771 GB, free: 6.648 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/0.6169, allocations: 181.5 kB / 0.5773 GB, free: 6.422 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.92, allocations: 4 kB / 0.5773 GB, free: 6.418 MB / 394.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)