Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00126/0.00126, allocations: 182.4 kB / 16.39 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.295/1.295, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001775/0.001774, allocations: 112.5 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1638/0.1638, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08688, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2915/0.3785, allocations: 89.7 MB / 0.534 GB, free: 6.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.3787, allocations: 91.44 kB / 0.5341 GB, free: 5.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02909/0.4078, allocations: 14.27 MB / 0.548 GB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4079, allocations: 0 / 0.548 GB, free: 10.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4079, allocations: 4 kB / 0.548 GB, free: 10.14 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000716/0.4086, allocations: 0.5053 MB / 0.5485 GB, free: 9.605 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.4087, allocations: 16.02 kB / 0.5485 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.822e-05/0.4087, allocations: 55.72 kB / 0.5486 GB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008104/0.4096, allocations: 97.42 kB / 0.5487 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.41, allocations: 264.2 kB / 0.5489 GB, free: 9.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.41, allocations: 16.88 kB / 0.5489 GB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.41, allocations: 12.44 kB / 0.549 GB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.4105, allocations: 320.6 kB / 0.5493 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4106, allocations: 0 / 0.5493 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.4106, allocations: 12.27 kB / 0.5493 GB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.182e-05/0.4107, allocations: 22.17 kB / 0.5493 GB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.4111, allocations: 282 kB / 0.5496 GB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.4128, allocations: 1.272 MB / 0.5508 GB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.4133, allocations: 234.5 kB / 0.551 GB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4133, allocations: 3.984 kB / 0.551 GB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4133, allocations: 34.62 kB / 0.5511 GB, free: 7.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.4133, allocations: 0 / 0.5511 GB, free: 7.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.000752/0.4141, allocations: 440.1 kB / 0.5515 GB, free: 6.918 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.4142, allocations: 77.11 kB / 0.5516 GB, free: 6.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.4144, allocations: 180.6 kB / 0.5517 GB, free: 6.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.4144, allocations: 32.95 kB / 0.5518 GB, free: 6.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4145, allocations: 158.2 kB / 0.5519 GB, free: 6.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.4146, allocations: 54.52 kB / 0.552 GB, free: 6.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.4146, allocations: 7.625 kB / 0.552 GB, free: 6.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4148, allocations: 334.1 kB / 0.5523 GB, free: 6.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.415, allocations: 83.92 kB / 0.5524 GB, free: 6.047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.4152, allocations: 161.7 kB / 0.5525 GB, free: 5.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.4154, allocations: 118.4 kB / 0.5526 GB, free: 5.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4154, allocations: 0 / 0.5526 GB, free: 5.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004525/0.4158, allocations: 285.8 kB / 0.5529 GB, free: 5.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.4159, allocations: 4 kB / 0.5529 GB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4159, allocations: 4 kB / 0.5529 GB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.4159, allocations: 4 kB / 0.5529 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.4162, allocations: 52.19 kB / 0.553 GB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.4163, allocations: 11.98 kB / 0.553 GB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.4164, allocations: 15.86 kB / 0.553 GB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.4165, allocations: 11.94 kB / 0.553 GB, free: 5.512 MB / 362.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.4167, allocations: 157.4 kB / 0.5532 GB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.4168, allocations: 15.81 kB / 0.5532 GB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.4172, allocations: 231.8 kB / 0.5534 GB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4172, allocations: 4 kB / 0.5534 GB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4173, allocations: 4 kB / 0.5534 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4173, allocations: 0 / 0.5534 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.4187, allocations: 0.9552 MB / 0.5543 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4188, allocations: 4.5 kB / 0.5543 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.4189, allocations: 39.88 kB / 0.5544 GB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4189, allocations: 8 kB / 0.5544 GB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.419, allocations: 15.67 kB / 0.5544 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.419, allocations: 4 kB / 0.5544 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.419, allocations: 4 kB / 0.5544 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.4195, allocations: 0.5965 MB / 0.555 GB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.4196, allocations: 108.8 kB / 0.5551 GB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.4197, allocations: 11.98 kB / 0.5551 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.4199, allocations: 11.25 kB / 0.5551 GB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.4199, allocations: 23.31 kB / 0.5551 GB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.42, allocations: 11.98 kB / 0.5551 GB, free: 3.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.4201, allocations: 151.3 kB / 0.5553 GB, free: 3.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4201, allocations: 4 kB / 0.5553 GB, free: 3.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000447/0.4206, allocations: 58.44 kB / 0.5554 GB, free: 3.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/0.4222, allocations: 2.247 MB / 0.5575 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.4226, allocations: 208.6 kB / 0.5577 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4226, allocations: 0 / 0.5577 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.4228, allocations: 99.64 kB / 0.5578 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.4231, allocations: 45.67 kB / 0.5579 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.4259, allocations: 2.779 MB / 0.5606 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4263, allocations: 0.7659 MB / 0.5613 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.4264, allocations: 53.48 kB / 0.5614 GB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.4266, allocations: 61.3 kB / 0.5615 GB, free: 13.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4266, allocations: 0 / 0.5615 GB, free: 13.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.442, allocations: 3.687 MB / 0.5651 GB, free: 9.387 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.4423, allocations: 179.4 kB / 0.5652 GB, free: 9.145 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.014, allocations: 0 / 0.5652 GB, free: 9.145 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)