Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",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.001844/0.001844, allocations: 179.9 kB / 16.38 MB, free: 5.762 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.314/1.314, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001621/0.001621, allocations: 112.7 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1712/0.1712, allocations: 37.99 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003935, allocations: 12 kB / 403.9 MB, free: 68.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09573, allocations: 53.24 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/0.4716, allocations: 95.31 MB / 0.5395 GB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4719, allocations: 82.09 kB / 0.5396 GB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03592/0.5079, allocations: 12.23 MB / 0.5515 GB, free: 5.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5079, allocations: 3.938 kB / 0.5515 GB, free: 5.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.508, allocations: 12 kB / 0.5515 GB, free: 5.477 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001646/0.5096, allocations: 0.6854 MB / 0.5522 GB, free: 4.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.5097, allocations: 12.02 kB / 0.5522 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.5099, allocations: 90.34 kB / 0.5523 GB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/0.5105, allocations: 91.38 kB / 0.5524 GB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.5129, allocations: 0.8437 MB / 0.5532 GB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.5129, allocations: 32.06 kB / 0.5532 GB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.3e-05/0.513, allocations: 37.88 kB / 0.5533 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/0.514, allocations: 0.6043 MB / 0.5538 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.5141, allocations: 11.94 kB / 0.5539 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.5141, allocations: 17.56 kB / 0.5539 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/0.5142, allocations: 24.98 kB / 0.5539 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.5149, allocations: 450.7 kB / 0.5543 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.5185, allocations: 2.868 MB / 0.5571 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.5189, allocations: 225.7 kB / 0.5573 GB, free: 16 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.519, allocations: 4.062 kB / 0.5573 GB, free: 12 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/0.519, allocations: 41.88 kB / 0.5574 GB, free: 15.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.036e-06/0.519, allocations: 0 / 0.5574 GB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001775/0.5208, allocations: 1.048 MB / 0.5584 GB, free: 15.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.5209, allocations: 81.11 kB / 0.5585 GB, free: 14.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.5213, allocations: 287.9 kB / 0.5588 GB, free: 14.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.5213, allocations: 36.69 kB / 0.5588 GB, free: 14.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.5215, allocations: 274.2 kB / 0.5591 GB, free: 14.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.273e-05/0.5216, allocations: 106.3 kB / 0.5592 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.5216, allocations: 10.56 kB / 0.5592 GB, free: 14.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5218, allocations: 345.9 kB / 0.5595 GB, free: 14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.522, allocations: 146.3 kB / 0.5596 GB, free: 13.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.5225, allocations: 354.2 kB / 0.56 GB, free: 13.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.5229, allocations: 211.9 kB / 0.5602 GB, free: 13.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5229, allocations: 0 / 0.5602 GB, free: 13.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000887/0.5238, allocations: 0.5285 MB / 0.5607 GB, free: 12.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.5238, allocations: 8 kB / 0.5607 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5238, allocations: 4.875 kB / 0.5607 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.5239, allocations: 12 kB / 0.5607 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.5243, allocations: 115.1 kB / 0.5608 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.5243, allocations: 23.88 kB / 0.5609 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.5246, allocations: 21.98 kB / 0.5609 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.5247, allocations: 25.5 kB / 0.5609 GB, free: 12.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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.0002895/0.525, allocations: 206.9 kB / 0.5611 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.525, allocations: 30.81 kB / 0.5611 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.5257, allocations: 366.1 kB / 0.5615 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.5257, allocations: 4 kB / 0.5615 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5257, allocations: 0 / 0.5615 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.5257, allocations: 7.953 kB / 0.5615 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.5272, allocations: 0.87 MB / 0.5623 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5272, allocations: 4 kB / 0.5623 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.5276, allocations: 67.05 kB / 0.5624 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.5276, allocations: 11.95 kB / 0.5624 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.5276, allocations: 7.188 kB / 0.5624 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.5276, allocations: 4 kB / 0.5624 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5277, allocations: 0 / 0.5624 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.5285, allocations: 0.6385 MB / 0.563 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5286, allocations: 103.3 kB / 0.5631 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.5287, allocations: 14.95 kB / 0.5632 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.5289, allocations: 14.8 kB / 0.5632 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.5289, allocations: 26.94 kB / 0.5632 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.529, allocations: 15.48 kB / 0.5632 GB, free: 10.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002863/0.5292, allocations: 215 kB / 0.5634 GB, free: 10.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5293, allocations: 0 / 0.5634 GB, free: 10.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005619/0.5298, allocations: 106.3 kB / 0.5635 GB, free: 10.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (29): * Single equations (assignments): 27 * Array equations: 1 * 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.00136/0.5312, allocations: 1.474 MB / 0.565 GB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006329/0.5318, allocations: 375.2 kB / 0.5653 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5319, allocations: 1.812 kB / 0.5653 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.5321, allocations: 147.1 kB / 0.5655 GB, free: 8.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.5325, allocations: 65.56 kB / 0.5655 GB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/0.5389, allocations: 7.019 MB / 0.5724 GB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.5395, allocations: 0.8649 MB / 0.5732 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000422/0.54, allocations: 127.1 kB / 0.5733 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.5402, allocations: 141.6 kB / 0.5735 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.5402, allocations: 3.938 kB / 0.5735 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.5635, allocations: 6.618 MB / 0.5799 GB, free: 10.14 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.5637, allocations: 176.3 kB / 0.5801 GB, free: 9.902 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.818, allocations: 0 / 0.5801 GB, free: 9.902 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)