Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 87.56 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06404/0.06404, allocations: 14.02 MB / 328.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.725e-05/6.739e-05, allocations: 4 kB / 389.2 MB, free: 66.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 51.12 MB / 440.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5675, allocations: 76.55 MB / 0.5048 GB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5678, allocations: 65.3 kB / 0.5049 GB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001394/0.5692, allocations: 0.5373 MB / 0.5054 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5692, allocations: 0 / 0.5054 GB, free: 11.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.5692, allocations: 0 / 0.5054 GB, free: 11.94 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002584/0.5695, allocations: 346.1 kB / 0.5057 GB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.5696, allocations: 11.72 kB / 0.5057 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.5696, allocations: 30.56 kB / 0.5058 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.5697, allocations: 7.031 kB / 0.5058 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.5698, allocations: 167 kB / 0.5059 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5698, allocations: 0 / 0.5059 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.5698, allocations: 7.922 kB / 0.5059 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.57, allocations: 43.86 kB / 0.506 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.57, allocations: 0 / 0.506 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.57, allocations: 0 / 0.506 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.57, allocations: 2.438 kB / 0.506 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.255e-05/0.5701, allocations: 15.09 kB / 0.506 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.5704, allocations: 245.8 kB / 0.5062 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.5704, allocations: 29.86 kB / 0.5063 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.5705, allocations: 15.86 kB / 0.5063 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.5705, allocations: 0 / 0.5063 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.5705, allocations: 41.97 kB / 0.5063 GB, free: 10.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.5705, allocations: 2.078 kB / 0.5063 GB, free: 10.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.000209/0.5707, allocations: 69.98 kB / 0.5064 GB, free: 10.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.5708, allocations: 88.23 kB / 0.5065 GB, free: 10.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.439e-05/0.5708, allocations: 85 kB / 0.5065 GB, free: 10.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.5708, allocations: 25.7 kB / 0.5066 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.5709, allocations: 84.05 kB / 0.5066 GB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.5709, allocations: 7.172 kB / 0.5067 GB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.5709, allocations: 0 / 0.5067 GB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.571, allocations: 318.4 kB / 0.507 GB, free: 10.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.571, allocations: 3.844 kB / 0.507 GB, free: 10.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.5711, allocations: 11.03 kB / 0.507 GB, free: 10.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.5711, allocations: 32.3 kB / 0.507 GB, free: 10.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5711, allocations: 3.422 kB / 0.507 GB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.028e-05/0.5712, allocations: 78.08 kB / 0.5071 GB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.5712, allocations: 36.16 kB / 0.5071 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5713, allocations: 0 / 0.5071 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5713, allocations: 4.094 kB / 0.5071 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.5713, allocations: 0 / 0.5071 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5713, allocations: 5.578 kB / 0.5071 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.5714, allocations: 9.797 kB / 0.5071 GB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.5714, allocations: 0 / 0.5071 GB, free: 10.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 6.057e-05/0.5715, allocations: 137.3 kB / 0.5073 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.5715, allocations: 7.797 kB / 0.5073 GB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.5715, allocations: 7.078 kB / 0.5073 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5715, allocations: 0 / 0.5073 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5716, allocations: 7.938 kB / 0.5073 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5716, allocations: 3.984 kB / 0.5073 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.5717, allocations: 159.5 kB / 0.5074 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5717, allocations: 0 / 0.5074 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.5717, allocations: 0.875 kB / 0.5074 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5717, allocations: 3.953 kB / 0.5074 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.5717, allocations: 3.906 kB / 0.5074 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5717, allocations: 0 / 0.5074 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5717, allocations: 0 / 0.5074 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.5719, allocations: 174.8 kB / 0.5076 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.5719, allocations: 80.39 kB / 0.5077 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.5719, allocations: 15.02 kB / 0.5077 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.572, allocations: 3.844 kB / 0.5077 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.572, allocations: 3.141 kB / 0.5077 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.5721, allocations: 3.719 kB / 0.5077 GB, free: 9.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.679e-05/0.5721, allocations: 75.28 kB / 0.5078 GB, free: 9.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5721, allocations: 0 / 0.5078 GB, free: 9.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000218/0.5723, allocations: 7.875 kB / 0.5078 GB, free: 9.418 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003076/0.5726, allocations: 0.712 MB / 0.5085 GB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.5727, allocations: 81.31 kB / 0.5086 GB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5728, allocations: 0 / 0.5086 GB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/0.5728, allocations: 63.09 kB / 0.5086 GB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.5729, allocations: 11.86 kB / 0.5086 GB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.5732, allocations: 95.08 kB / 0.5087 GB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.5734, allocations: 0.673 MB / 0.5094 GB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.395e-05/0.5734, allocations: 3.375 kB / 0.5094 GB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.5734, allocations: 11.31 kB / 0.5094 GB, free: 7.789 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.5734, allocations: 0 / 0.5094 GB, free: 7.789 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.5873, allocations: 1.09 MB / 0.5105 GB, free: 7.598 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.5875, allocations: 178.5 kB / 0.5106 GB, free: 7.375 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.149, allocations: 0 / 0.5106 GB, free: 7.375 MB / 330.7 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1)