Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",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.001525/0.001525, allocations: 182.1 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.378/1.378, 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.0009006/0.0009007, allocations: 96.05 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.05182/0.05182, allocations: 8.093 MB / 345.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.437e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.09934, allocations: 52.51 MB / 458.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.4894, allocations: 80.14 MB / 0.5256 GB, free: 5.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4896, allocations: 63.22 kB / 0.5257 GB, free: 5.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03895/0.5286, allocations: 15.37 MB / 0.5407 GB, free: 9.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5286, allocations: 0 / 0.5407 GB, free: 9.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.5286, allocations: 4 kB / 0.5407 GB, free: 9.539 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00324/0.5319, allocations: 1.026 MB / 0.5417 GB, free: 8.547 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5319, allocations: 12.03 kB / 0.5417 GB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.5321, allocations: 66.72 kB / 0.5418 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.5322, allocations: 59.36 kB / 0.5418 GB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.5328, allocations: 393.5 kB / 0.5422 GB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.5329, allocations: 31.47 kB / 0.5422 GB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.533, allocations: 34.44 kB / 0.5422 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009323/0.5339, allocations: 0.5828 MB / 0.5428 GB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5339, allocations: 0 / 0.5428 GB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.534, allocations: 16.94 kB / 0.5428 GB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.534, allocations: 8 kB / 0.5428 GB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.5348, allocations: 0.5401 MB / 0.5434 GB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.5383, allocations: 2.412 MB / 0.5457 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.5395, allocations: 0.8658 MB / 0.5466 GB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.54, allocations: 395.1 kB / 0.5469 GB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.5402, allocations: 93.64 kB / 0.547 GB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.5403, allocations: 50.27 kB / 0.5471 GB, free: 4.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 3.757e-06/0.5403, allocations: 0 / 0.5471 GB, free: 4.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.004444/0.5447, allocations: 1.493 MB / 0.5485 GB, free: 3.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.5448, allocations: 107.4 kB / 0.5486 GB, free: 3.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.5452, allocations: 294.8 kB / 0.5489 GB, free: 2.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.5453, allocations: 36.45 kB / 0.549 GB, free: 2.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.5454, allocations: 201.3 kB / 0.5492 GB, free: 2.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.5456, allocations: 202.3 kB / 0.5493 GB, free: 2.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.5457, allocations: 11.06 kB / 0.5494 GB, free: 2.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5459, allocations: 356.5 kB / 0.5497 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.5463, allocations: 308.4 kB / 0.55 GB, free: 2.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.5469, allocations: 411.4 kB / 0.5504 GB, free: 1.746 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.5474, allocations: 350.4 kB / 0.5507 GB, free: 1.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5474, allocations: 4 kB / 0.5507 GB, free: 1.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.004457/0.5519, allocations: 1.561 MB / 0.5522 GB, free: 440 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.552, allocations: 4 kB / 0.5522 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.552, allocations: 7.984 kB / 0.5523 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004629/0.5566, allocations: 1.038 MB / 0.5533 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.5571, allocations: 79.52 kB / 0.5533 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009574/0.5666, allocations: 4.837 MB / 0.5581 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.5674, allocations: 55.52 kB / 0.5581 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.107e-05/0.5674, allocations: 20 kB / 0.5581 GB, free: 10.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(10,62.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.5677, allocations: 137 kB / 0.5583 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5678, allocations: 51.42 kB / 0.5583 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/0.5725, allocations: 1.672 MB / 0.56 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5726, allocations: 8 kB / 0.56 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.5726, allocations: 11.92 kB / 0.56 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5726, allocations: 0 / 0.56 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005821/0.5784, allocations: 2.584 MB / 0.5625 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5785, allocations: 3.953 kB / 0.5625 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.5788, allocations: 79.95 kB / 0.5626 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004463/0.5832, allocations: 0.9528 MB / 0.5635 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/0.5833, allocations: 15.98 kB / 0.5635 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00935/0.5927, allocations: 4.886 MB / 0.5683 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5927, allocations: 4 kB / 0.5683 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.5974, allocations: 1.669 MB / 0.5699 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.5976, allocations: 140.3 kB / 0.5701 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.402e-05/0.5977, allocations: 12 kB / 0.5701 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.5981, allocations: 23.98 kB / 0.5701 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5983, allocations: 60.42 kB / 0.5702 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.5983, allocations: 16 kB / 0.5702 GB, free: 14.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002956/0.5986, allocations: 246.2 kB / 0.5704 GB, free: 13.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5986, allocations: 0 / 0.5704 GB, free: 13.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007927/0.5994, allocations: 231.8 kB / 0.5706 GB, free: 13.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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 {(10,61.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004895/0.6043, allocations: 2.378 MB / 0.5729 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.6073, allocations: 1.186 MB / 0.5741 GB, free: 9.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.6073, allocations: 4 kB / 0.5741 GB, free: 9.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.6095, allocations: 0.8352 MB / 0.5749 GB, free: 9.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.6098, allocations: 33.22 kB / 0.575 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.6118, allocations: 0.8158 MB / 0.5758 GB, free: 8.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.6122, allocations: 0.8409 MB / 0.5766 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.6125, allocations: 63.3 kB / 0.5766 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.6127, allocations: 155.3 kB / 0.5768 GB, free: 7.129 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6127, allocations: 3.938 kB / 0.5768 GB, free: 7.125 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.6437, allocations: 16.42 MB / 0.5928 GB, free: 6.875 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.644, allocations: 193.7 kB / 0.593 GB, free: 6.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.827, allocations: 3.656 kB / 0.593 GB, free: 6.645 MB / 410.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)