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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007916/0.0007916, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06314/0.06314, allocations: 14.17 MB / 284.6 MB, free: 7.129 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 12 kB / 348.3 MB, free: 17.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 51.12 MB / 399.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.0009051/0.1032, allocations: 441.1 kB / 399.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.1034, allocations: 19.98 kB / 399.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.1035, allocations: 0 / 399.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.1035, allocations: 7.938 kB / 399.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.1035, allocations: 0 / 399.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.1037, allocations: 4 kB / 399.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.1037, allocations: 15.97 kB / 399.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.1038, allocations: 8 kB / 399.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1038, allocations: 4 kB / 399.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.1039, allocations: 3.984 kB / 399.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1039, allocations: 3.938 kB / 399.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.1039, allocations: 7.938 kB / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.104, allocations: 0 / 399.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.104, allocations: 33.64 kB / 399.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.91e-05/0.1041, allocations: 11.98 kB / 399.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1041, allocations: 0 / 399.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1041, allocations: 0 / 399.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1041, allocations: 0 / 399.9 MB, free: 14.06 MB / 302.1 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.0003644/0.1045, allocations: 341.1 kB / 400.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1045, allocations: 8.031 kB / 400.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1046, allocations: 34.56 kB / 400.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1046, allocations: 0 / 400.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1047, allocations: 167.1 kB / 400.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1047, allocations: 4 kB / 400.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1047, allocations: 7.953 kB / 400.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1049, allocations: 45.62 kB / 400.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1049, allocations: 0 / 400.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1049, allocations: 0 / 400.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1049, allocations: 0 / 400.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.1049, allocations: 12 kB / 400.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1054, allocations: 252.8 kB / 400.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.602e-05/0.1054, allocations: 26.58 kB / 400.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.1055, allocations: 16.91 kB / 400.8 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.1055, allocations: 7.938 kB / 400.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1055, allocations: 30.56 kB / 400.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1055, allocations: 0 / 400.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.1057, allocations: 83.52 kB / 401 MB, free: 12.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.1058, allocations: 85.11 kB / 401 MB, free: 12.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.434e-05/0.1058, allocations: 89.86 kB / 401.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1059, allocations: 25.7 kB / 401.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.1059, allocations: 80.14 kB / 401.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.1059, allocations: 3.906 kB / 401.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.106, allocations: 4 kB / 401.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1061, allocations: 318.8 kB / 401.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.1061, allocations: 4 kB / 401.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.1061, allocations: 15.94 kB / 401.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.1062, allocations: 37.64 kB / 401.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1062, allocations: 0 / 401.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.1063, allocations: 83.34 kB / 401.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.1063, allocations: 33.7 kB / 401.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1063, allocations: 3.984 kB / 401.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1064, allocations: 3.984 kB / 401.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.1064, allocations: 0 / 401.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1064, allocations: 0 / 401.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.1065, allocations: 8.094 kB / 401.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1065, allocations: 3.938 kB / 401.7 MB, free: 12 MB / 302.1 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 () * Number of clocked 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 8.98e-05/0.1066, allocations: 135.5 kB / 401.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1066, allocations: 15.94 kB / 401.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.633e-05/0.1066, allocations: 7.125 kB / 401.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1066, allocations: 0 / 401.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1067, allocations: 0 / 401.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1067, allocations: 0 / 401.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.1068, allocations: 153.7 kB / 402.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1068, allocations: 4 kB / 402.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.1068, allocations: 3.938 kB / 402.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1068, allocations: 3.953 kB / 402.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1069, allocations: 4 kB / 402.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1069, allocations: 0 / 402.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1069, allocations: 3.984 kB / 402.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.107, allocations: 173.2 kB / 402.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.1071, allocations: 77.11 kB / 402.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.1071, allocations: 11.98 kB / 402.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.1072, allocations: 0 / 402.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1072, allocations: 11.98 kB / 402.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1072, allocations: 0 / 402.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.664e-05/0.1073, allocations: 75.28 kB / 402.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1073, allocations: 0 / 402.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.1075, allocations: 4 kB / 402.4 MB, free: 11.22 MB / 302.1 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 () * Number of clocked 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.0004415/0.1079, allocations: 0.7102 MB / 403.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.1081, allocations: 79.39 kB / 403.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1081, allocations: 0 / 403.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.744e-05/0.1081, allocations: 67.39 kB / 403.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.1084, allocations: 15.83 kB / 403.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.1087, allocations: 132.5 kB / 403.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.109, allocations: 0.6731 MB / 404.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.109, allocations: 0 / 404.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.109, allocations: 10.94 kB / 404.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.109, allocations: 0 / 404.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.1192, allocations: 1.071 MB / 405.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.1195, allocations: 216.1 kB / 405.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.771, allocations: 0 / 405.4 MB, free: 8.215 MB / 302.1 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) Environment - environmentSimulation: