Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.001271/0.001271, allocations: 179.7 kB / 15.8 MB, free: 6.336 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.416/1.416, allocations: 223.2 MB / 239.7 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 97.28 kB / 290.9 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06126/0.06126, allocations: 8.097 MB / 350.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 8 kB / 413.2 MB, free: 5.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 52.51 MB / 465.7 MB, free: 69.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.4253, allocations: 79.3 MB / 0.5322 GB, free: 6.219 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4256, allocations: 63.98 kB / 0.5323 GB, free: 6.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.4471, allocations: 7.754 MB / 0.5398 GB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4472, allocations: 4 kB / 0.5399 GB, free: 14.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.4472, allocations: 0 / 0.5399 GB, free: 14.31 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00171/0.4489, allocations: 0.6275 MB / 0.5405 GB, free: 13.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.449, allocations: 8.031 kB / 0.5405 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.599e-05/0.4491, allocations: 62.48 kB / 0.5405 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.223e-05/0.4492, allocations: 32.31 kB / 0.5406 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.4496, allocations: 271.1 kB / 0.5408 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4496, allocations: 12.31 kB / 0.5408 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.4497, allocations: 16 kB / 0.5408 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.4502, allocations: 256.2 kB / 0.5411 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4502, allocations: 0 / 0.5411 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.4502, allocations: 7.938 kB / 0.5411 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.4502, allocations: 7.953 kB / 0.5411 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.4506, allocations: 256.5 kB / 0.5414 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.4526, allocations: 1.196 MB / 0.5425 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.4533, allocations: 321 kB / 0.5428 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.4535, allocations: 97.03 kB / 0.5429 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4535, allocations: 30.56 kB / 0.5429 GB, free: 10.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.4536, allocations: 0 / 0.5429 GB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.003199/0.4568, allocations: 0.9615 MB / 0.5439 GB, free: 9.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.4568, allocations: 63.28 kB / 0.5439 GB, free: 9.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.4571, allocations: 194.3 kB / 0.5441 GB, free: 9.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.4571, allocations: 25.7 kB / 0.5442 GB, free: 9.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4573, allocations: 128.4 kB / 0.5443 GB, free: 9.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.4573, allocations: 86.75 kB / 0.5444 GB, free: 9.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.4574, allocations: 4 kB / 0.5444 GB, free: 9.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4575, allocations: 330.8 kB / 0.5447 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.4578, allocations: 136.4 kB / 0.5448 GB, free: 8.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.458, allocations: 132.9 kB / 0.5449 GB, free: 8.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.4582, allocations: 143.5 kB / 0.5451 GB, free: 8.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4582, allocations: 0 / 0.5451 GB, free: 8.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00153/0.4598, allocations: 0.5928 MB / 0.5457 GB, free: 8.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4598, allocations: 7.938 kB / 0.5457 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4598, allocations: 0 / 0.5457 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.4612, allocations: 300.5 kB / 0.5459 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.4614, allocations: 27.98 kB / 0.546 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.4656, allocations: 2.599 MB / 0.5485 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.4658, allocations: 19.83 kB / 0.5485 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.4659, allocations: 11.95 kB / 0.5485 GB, free: 4.941 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 (19): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.4661, allocations: 137.8 kB / 0.5487 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.4662, allocations: 19.81 kB / 0.5487 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.4679, allocations: 0.6294 MB / 0.5493 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4679, allocations: 4 kB / 0.5493 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4679, allocations: 0 / 0.5493 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4679, allocations: 3.984 kB / 0.5493 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.4685, allocations: 429.2 kB / 0.5497 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4685, allocations: 0 / 0.5497 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.4686, allocations: 27.98 kB / 0.5498 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.47, allocations: 300.4 kB / 0.55 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.47, allocations: 4 kB / 0.55 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/0.4737, allocations: 2.574 MB / 0.5526 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4737, allocations: 0 / 0.5526 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3482/0.8219, allocations: 0.6768 MB / 0.5532 GB, free: 90.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.8222, allocations: 102 kB / 0.5533 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.8222, allocations: 10.28 kB / 0.5533 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.8225, allocations: 16.03 kB / 0.5533 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.8227, allocations: 22.22 kB / 0.5534 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.8227, allocations: 10.31 kB / 0.5534 GB, free: 90.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002545/0.823, allocations: 155 kB / 0.5535 GB, free: 90.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.823, allocations: 0 / 0.5535 GB, free: 90.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006826/0.8237, allocations: 101.3 kB / 0.5536 GB, free: 90.34 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 (20): * Single equations (assignments): 19 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002366/0.8261, allocations: 1.23 MB / 0.5548 GB, free: 89.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.8273, allocations: 0.4995 MB / 0.5553 GB, free: 89.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8273, allocations: 3.094 kB / 0.5553 GB, free: 89.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007509/0.8281, allocations: 360 kB / 0.5557 GB, free: 89.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.8284, allocations: 24.02 kB / 0.5557 GB, free: 89.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.8321, allocations: 1.746 MB / 0.5574 GB, free: 88.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.8324, allocations: 0.7482 MB / 0.5581 GB, free: 88.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.8325, allocations: 31.33 kB / 0.5581 GB, free: 88.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.8327, allocations: 66.67 kB / 0.5582 GB, free: 88.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.472e-06/0.8327, allocations: 0.8438 kB / 0.5582 GB, free: 88.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.8593, allocations: 8.059 MB / 0.5661 GB, free: 87.16 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.8596, allocations: 199 kB / 0.5663 GB, free: 86.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.837, allocations: 0 / 0.5663 GB, free: 86.91 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)