Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",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.001466/0.001465, allocations: 174.8 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.886/1.886, 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.0009805/0.0009805, allocations: 92.48 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06612/0.06612, allocations: 14.02 MB / 328.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.77e-05, allocations: 4 kB / 389.2 MB, free: 66.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 51.11 MB / 440.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.5847, allocations: 78.73 MB / 0.5069 GB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.5851, allocations: 72.12 kB / 0.507 GB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01177/0.5969, allocations: 4.952 MB / 0.5118 GB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.597, allocations: 0 / 0.5118 GB, free: 10.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.5971, allocations: 7.844 kB / 0.5118 GB, free: 10.43 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001468/0.5985, allocations: 0.6072 MB / 0.5124 GB, free: 9.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.5986, allocations: 7.656 kB / 0.5124 GB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/0.5987, allocations: 69.48 kB / 0.5125 GB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.5988, allocations: 31.03 kB / 0.5125 GB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.599, allocations: 221.2 kB / 0.5127 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.5991, allocations: 16.06 kB / 0.5128 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.5991, allocations: 26.91 kB / 0.5128 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.5997, allocations: 365.1 kB / 0.5131 GB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5997, allocations: 0 / 0.5131 GB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.5998, allocations: 7.812 kB / 0.5131 GB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5998, allocations: 15.39 kB / 0.5132 GB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.6003, allocations: 383.7 kB / 0.5135 GB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.6019, allocations: 1.136 MB / 0.5146 GB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.6024, allocations: 290.7 kB / 0.5149 GB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.6026, allocations: 198.3 kB / 0.5151 GB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.6027, allocations: 7.156 kB / 0.5151 GB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.6027, allocations: 38.12 kB / 0.5151 GB, free: 8.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.6027, allocations: 0 / 0.5151 GB, free: 8.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.000675/0.6034, allocations: 434 kB / 0.5155 GB, free: 8.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.6035, allocations: 59.55 kB / 0.5156 GB, free: 8.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.6037, allocations: 228.9 kB / 0.5158 GB, free: 8.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.6037, allocations: 28.95 kB / 0.5159 GB, free: 8.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.6038, allocations: 153.2 kB / 0.516 GB, free: 8.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.6039, allocations: 100 kB / 0.5161 GB, free: 8.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.6039, allocations: 3.125 kB / 0.5161 GB, free: 8.039 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.604, allocations: 345.1 kB / 0.5164 GB, free: 7.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.6043, allocations: 174.6 kB / 0.5166 GB, free: 7.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.6045, allocations: 169.8 kB / 0.5168 GB, free: 7.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.6047, allocations: 184.1 kB / 0.5169 GB, free: 7.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6047, allocations: 0 / 0.5169 GB, free: 7.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005754/0.6053, allocations: 453.5 kB / 0.5174 GB, free: 7.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6054, allocations: 4 kB / 0.5174 GB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6054, allocations: 0 / 0.5174 GB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6054, allocations: 7.938 kB / 0.5174 GB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.6056, allocations: 30.59 kB / 0.5174 GB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6056, allocations: 4 kB / 0.5174 GB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.6058, allocations: 31.33 kB / 0.5174 GB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.6058, allocations: 4 kB / 0.5174 GB, free: 7.086 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 (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 8.836e-05/0.6059, allocations: 119.7 kB / 0.5176 GB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.606, allocations: 23.72 kB / 0.5176 GB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.606, allocations: 35.72 kB / 0.5176 GB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.6061, allocations: 10.55 kB / 0.5176 GB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6061, allocations: 0 / 0.5176 GB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.6061, allocations: 0 / 0.5176 GB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.6066, allocations: 0.515 MB / 0.5181 GB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.6066, allocations: 8 kB / 0.5181 GB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.6068, allocations: 23.67 kB / 0.5182 GB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6068, allocations: 7.984 kB / 0.5182 GB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.6068, allocations: 3.625 kB / 0.5182 GB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.6068, allocations: 4 kB / 0.5182 GB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6068, allocations: 0 / 0.5182 GB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.6074, allocations: 0.5311 MB / 0.5187 GB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.6075, allocations: 116.2 kB / 0.5188 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.6075, allocations: 3.438 kB / 0.5188 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.6077, allocations: 3.375 kB / 0.5188 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.6077, allocations: 16.34 kB / 0.5188 GB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.6078, allocations: 7.5 kB / 0.5188 GB, free: 5.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.6079, allocations: 190 kB / 0.519 GB, free: 5.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6079, allocations: 0 / 0.519 GB, free: 5.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.6082, allocations: 55.31 kB / 0.5191 GB, free: 5.75 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 (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.000848/0.6091, allocations: 1.089 MB / 0.5201 GB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.6096, allocations: 399.6 kB / 0.5205 GB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6096, allocations: 0 / 0.5205 GB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.6099, allocations: 218.3 kB / 0.5207 GB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.6102, allocations: 13.86 kB / 0.5207 GB, free: 4.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.6112, allocations: 0.4953 MB / 0.5212 GB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.6115, allocations: 0.7675 MB / 0.522 GB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005345/0.612, allocations: 499.1 kB / 0.5224 GB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6122, allocations: 85.02 kB / 0.5225 GB, free: 2.754 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6122, allocations: 4 kB / 0.5225 GB, free: 2.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.6321, allocations: 5.47 MB / 0.5279 GB, free: 13.39 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.6324, allocations: 161.7 kB / 0.528 GB, free: 13.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.683, allocations: 0 / 0.528 GB, free: 13.16 MB / 346.7 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1)