Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.001145/0.001146, allocations: 180.8 kB / 16.38 MB, free: 5.766 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.36/1.36, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001654/0.001654, allocations: 108.9 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1658/0.1658, allocations: 38 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004062, allocations: 12 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08752, allocations: 53.24 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.4334, allocations: 89.81 MB / 0.5341 GB, free: 5.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4338, allocations: 86.77 kB / 0.5342 GB, free: 5.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05276/0.4866, allocations: 14.17 MB / 0.548 GB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4866, allocations: 0 / 0.548 GB, free: 10.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.4867, allocations: 4 kB / 0.548 GB, free: 10.2 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.001414/0.4881, allocations: 0.5151 MB / 0.5485 GB, free: 9.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/0.4882, allocations: 16.02 kB / 0.5485 GB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.4883, allocations: 52.84 kB / 0.5486 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.4901, allocations: 120.1 kB / 0.5487 GB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.4909, allocations: 258.7 kB / 0.549 GB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.491, allocations: 16.55 kB / 0.549 GB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.284e-05/0.4911, allocations: 16.88 kB / 0.549 GB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.492, allocations: 315.1 kB / 0.5493 GB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.4921, allocations: 4 kB / 0.5493 GB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.4922, allocations: 12.31 kB / 0.5493 GB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.4923, allocations: 21.98 kB / 0.5493 GB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.4933, allocations: 304.4 kB / 0.5496 GB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.4963, allocations: 1.248 MB / 0.5508 GB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.4968, allocations: 163.3 kB / 0.551 GB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.4969, allocations: 4 kB / 0.551 GB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.4969, allocations: 41.81 kB / 0.551 GB, free: 7.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.296e-06/0.4969, allocations: 0 / 0.551 GB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.002642/0.4996, allocations: 0.6512 MB / 0.5517 GB, free: 6.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.4997, allocations: 81.11 kB / 0.5518 GB, free: 6.684 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.5, allocations: 176.2 kB / 0.5519 GB, free: 6.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5001, allocations: 28.77 kB / 0.5519 GB, free: 6.492 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.5002, allocations: 163.2 kB / 0.5521 GB, free: 6.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.5004, allocations: 53.7 kB / 0.5522 GB, free: 6.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.5004, allocations: 3.75 kB / 0.5522 GB, free: 6.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.5006, allocations: 333.1 kB / 0.5525 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.5009, allocations: 75.64 kB / 0.5525 GB, free: 5.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.5012, allocations: 162.8 kB / 0.5527 GB, free: 5.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.5015, allocations: 96.28 kB / 0.5528 GB, free: 5.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5015, allocations: 0 / 0.5528 GB, free: 5.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00107/0.5026, allocations: 352.7 kB / 0.5531 GB, free: 5.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5027, allocations: 8.25 kB / 0.5531 GB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5027, allocations: 4 kB / 0.5531 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.5034, allocations: 98.7 kB / 0.5532 GB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.5037, allocations: 39.97 kB / 0.5533 GB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.5076, allocations: 1.987 MB / 0.5552 GB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.5079, allocations: 15.8 kB / 0.5552 GB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.5079, allocations: 8 kB / 0.5552 GB, free: 3.406 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 (21): * Single equations (assignments): 20 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000283/0.5082, allocations: 156.8 kB / 0.5554 GB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.5083, allocations: 19.72 kB / 0.5554 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.5094, allocations: 319 kB / 0.5557 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5094, allocations: 7.953 kB / 0.5557 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5094, allocations: 0 / 0.5557 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5094, allocations: 0 / 0.5557 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.5114, allocations: 0.7421 MB / 0.5564 GB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5114, allocations: 0 / 0.5564 GB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.5116, allocations: 27.92 kB / 0.5565 GB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.5121, allocations: 83.39 kB / 0.5565 GB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.5122, allocations: 4 kB / 0.5566 GB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.5151, allocations: 1.868 MB / 0.5584 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5151, allocations: 4.031 kB / 0.5584 GB, free: 436 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.5161, allocations: 442.2 kB / 0.5588 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5162, allocations: 96.3 kB / 0.5589 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.5163, allocations: 0 / 0.5589 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.5166, allocations: 11.48 kB / 0.5589 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.5166, allocations: 15.3 kB / 0.5589 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.5167, allocations: 8 kB / 0.5589 GB, free: 15.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.5169, allocations: 140.4 kB / 0.5591 GB, free: 15.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5169, allocations: 0 / 0.5591 GB, free: 15.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009143/0.5178, allocations: 74.62 kB / 0.5591 GB, free: 15.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001577/0.5194, allocations: 1.184 MB / 0.5603 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.5206, allocations: 366 kB / 0.5606 GB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.5207, allocations: 4 kB / 0.5606 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.5213, allocations: 252.2 kB / 0.5609 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.5218, allocations: 34.3 kB / 0.5609 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.5261, allocations: 2.797 MB / 0.5636 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.5267, allocations: 0.7685 MB / 0.5644 GB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.5269, allocations: 37.52 kB / 0.5644 GB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.527, allocations: 65.72 kB / 0.5645 GB, free: 10.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.527, allocations: 0 / 0.5645 GB, free: 10.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.5519, allocations: 4.709 MB / 0.5691 GB, free: 5.758 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/0.5523, allocations: 208.5 kB / 0.5693 GB, free: 5.512 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.196, allocations: 0 / 0.5693 GB, free: 5.512 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)