Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",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.001332/0.001333, allocations: 180.7 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.502/1.502, allocations: 223.2 MB / 239.7 MB, free: 52 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.001072/0.001072, allocations: 101.6 kB / 290.9 MB, free: 4.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.08164/0.08164, allocations: 8.105 MB / 350.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 8 kB / 413.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2802, allocations: 52.51 MB / 465.7 MB, free: 69.59 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3863, allocations: 78.49 MB / 0.5314 GB, free: 7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.3866, allocations: 59.98 kB / 0.5315 GB, free: 6.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0119/0.3986, allocations: 4.853 MB / 0.5362 GB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3986, allocations: 3.938 kB / 0.5362 GB, free: 2.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3986, allocations: 4 kB / 0.5362 GB, free: 2.023 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008697/0.3995, allocations: 486.7 kB / 0.5367 GB, free: 1.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.3996, allocations: 12.03 kB / 0.5367 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.3996, allocations: 46.55 kB / 0.5367 GB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.3997, allocations: 15.86 kB / 0.5368 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.4, allocations: 211.6 kB / 0.537 GB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4, allocations: 8 kB / 0.537 GB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.4, allocations: 15.94 kB / 0.537 GB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.4003, allocations: 149.6 kB / 0.5371 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4003, allocations: 4 kB / 0.5371 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.4004, allocations: 7.984 kB / 0.5371 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4004, allocations: 7.953 kB / 0.5371 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.4006, allocations: 113 kB / 0.5373 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.4015, allocations: 0.5352 MB / 0.5378 GB, free: 288 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.4023, allocations: 146.5 kB / 0.5379 GB, free: 132 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.4025, allocations: 85.09 kB / 0.538 GB, free: 28 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/0.4025, allocations: 34.56 kB / 0.538 GB, free: 15.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.4025, allocations: 0 / 0.538 GB, free: 15.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001218/0.4038, allocations: 351.4 kB / 0.5384 GB, free: 15.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4038, allocations: 55.41 kB / 0.5384 GB, free: 15.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.404, allocations: 128.1 kB / 0.5385 GB, free: 15.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.404, allocations: 25.7 kB / 0.5386 GB, free: 15.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.4041, allocations: 127.6 kB / 0.5387 GB, free: 15.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.4041, allocations: 31.55 kB / 0.5387 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.4041, allocations: 0 / 0.5387 GB, free: 15.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4043, allocations: 314.8 kB / 0.539 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.4043, allocations: 31.98 kB / 0.5391 GB, free: 14.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.4044, allocations: 45.7 kB / 0.5391 GB, free: 14.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.4045, allocations: 35.89 kB / 0.5391 GB, free: 14.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4045, allocations: 0 / 0.5391 GB, free: 14.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004858/0.405, allocations: 170.3 kB / 0.5393 GB, free: 14.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.405, allocations: 12.81 kB / 0.5393 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.405, allocations: 0.5625 kB / 0.5393 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004768/0.4055, allocations: 72.77 kB / 0.5394 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.4056, allocations: 11.95 kB / 0.5394 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.4075, allocations: 1.562 MB / 0.5409 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.4075, allocations: 11.94 kB / 0.5409 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.4076, allocations: 0 / 0.5409 GB, free: 12.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.4077, allocations: 126.3 kB / 0.541 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.4078, allocations: 7.906 kB / 0.541 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.4083, allocations: 210.6 kB / 0.5413 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4084, allocations: 0 / 0.5413 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.4084, allocations: 0 / 0.5413 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4084, allocations: 3.984 kB / 0.5413 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.4086, allocations: 233.5 kB / 0.5415 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4086, allocations: 0 / 0.5415 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.4087, allocations: 15.98 kB / 0.5415 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/0.4091, allocations: 76.77 kB / 0.5416 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.4091, allocations: 4 kB / 0.5416 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.4108, allocations: 1.538 MB / 0.5431 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4108, allocations: 4.031 kB / 0.5431 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.4114, allocations: 280.1 kB / 0.5433 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.4114, allocations: 88.94 kB / 0.5434 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4115, allocations: 12 kB / 0.5434 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4116, allocations: 0 / 0.5434 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.4116, allocations: 11.94 kB / 0.5434 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4116, allocations: 12 kB / 0.5435 GB, free: 9.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.657e-05/0.4117, allocations: 99.27 kB / 0.5436 GB, free: 9.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4117, allocations: 0 / 0.5436 GB, free: 9.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.4121, allocations: 43.91 kB / 0.5436 GB, free: 9.824 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 (8): * Single equations (assignments): 7 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009679/0.4131, allocations: 0.8376 MB / 0.5444 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006696/0.4138, allocations: 234.9 kB / 0.5446 GB, free: 8.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4138, allocations: 0 / 0.5446 GB, free: 8.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.4142, allocations: 206.6 kB / 0.5448 GB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.4145, allocations: 8 kB / 0.5448 GB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.4162, allocations: 0.9489 MB / 0.5458 GB, free: 7.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.4165, allocations: 0.7121 MB / 0.5465 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.4166, allocations: 8.844 kB / 0.5465 GB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.4167, allocations: 43.41 kB / 0.5465 GB, free: 6.695 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4167, allocations: 3.938 kB / 0.5465 GB, free: 6.691 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.4345, allocations: 3.083 MB / 0.5495 GB, free: 3.715 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.4348, allocations: 165 kB / 0.5497 GB, free: 3.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.219, allocations: 0 / 0.5497 GB, free: 3.48 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)