Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_symb_jac_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.0009015/0.0009015, allocations: 98.3 kB / 15.7 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009721/0.0009722, allocations: 177.8 kB / 16.57 MB, free: 6.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06487/0.06487, allocations: 14.17 MB / 285.2 MB, free: 7.152 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.0005903/0.0005908, allocations: 18.81 kB / 348.9 MB, free: 17.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1261, allocations: 51.12 MB / 400 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001002/0.1272, allocations: 431.8 kB / 400.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001775/0.1274, allocations: 27.92 kB / 400.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.1274, allocations: 0 / 400.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.1274, allocations: 0 / 400.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.1275, allocations: 0 / 400.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.1276, allocations: 7.984 kB / 400.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.263e-05/0.1277, allocations: 11.98 kB / 400.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.1278, allocations: 4 kB / 400.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.1278, allocations: 3.984 kB / 400.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.1279, allocations: 11.94 kB / 400.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1279, allocations: 0 / 400.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.1279, allocations: 4 kB / 400.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.128, allocations: 4 kB / 400.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.128, allocations: 25.7 kB / 400.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.219e-05/0.1281, allocations: 11.97 kB / 400.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1281, allocations: 0 / 400.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1281, allocations: 0 / 400.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.1281, allocations: 0 / 400.5 MB, free: 14.1 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.0003964/0.1285, allocations: 345.1 kB / 400.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1285, allocations: 8.031 kB / 400.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.1286, allocations: 34.56 kB / 400.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.1286, allocations: 7.938 kB / 400.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1287, allocations: 163.1 kB / 401.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1287, allocations: 0 / 401.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1288, allocations: 11.89 kB / 401.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1289, allocations: 45.62 kB / 401.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.1289, allocations: 0 / 401.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1289, allocations: 0 / 401.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1289, allocations: 0 / 401.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.129, allocations: 11.98 kB / 401.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.1295, allocations: 256.8 kB / 401.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.1296, allocations: 30.61 kB / 401.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.1296, allocations: 8 kB / 401.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1296, allocations: 30.56 kB / 401.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1296, allocations: 0 / 401.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002135/0.1298, allocations: 87.38 kB / 401.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.1299, allocations: 81.11 kB / 401.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.363e-05/0.1299, allocations: 93.86 kB / 401.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.13, allocations: 25.7 kB / 401.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.13, allocations: 80.14 kB / 401.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1301, allocations: 11.89 kB / 401.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.1301, allocations: 0 / 401.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1302, allocations: 310.8 kB / 402.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.1303, allocations: 8.125 kB / 402.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.1303, allocations: 11.94 kB / 402.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.1303, allocations: 37.69 kB / 402.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1303, allocations: 0 / 402.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001174/0.1305, allocations: 79.36 kB / 402.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.1305, allocations: 40.5 kB / 402.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1306, allocations: 0 / 402.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1306, allocations: 0 / 402.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.1306, allocations: 0 / 402.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1307, allocations: 0 / 402.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.1307, allocations: 8.094 kB / 402.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1307, allocations: 4 kB / 402.3 MB, free: 12.05 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 9.004e-05/0.1308, allocations: 139.5 kB / 402.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1309, allocations: 3.953 kB / 402.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.1309, allocations: 7.125 kB / 402.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1309, allocations: 0 / 402.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1309, allocations: 0 / 402.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1309, allocations: 3.938 kB / 402.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1311, allocations: 157.7 kB / 402.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1311, allocations: 4 kB / 402.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/0.1311, allocations: 7.875 kB / 402.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1311, allocations: 3.953 kB / 402.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1311, allocations: 7.984 kB / 402.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1311, allocations: 0 / 402.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1312, allocations: 0 / 402.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.1316, allocations: 0.7257 MB / 403.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.1317, allocations: 85.11 kB / 403.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1317, allocations: 0 / 403.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1318, allocations: 4 kB / 403.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.1319, allocations: 3.984 kB / 403.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1319, allocations: 4 kB / 403.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.1319, allocations: 75.28 kB / 403.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1319, allocations: 0 / 403.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.1322, allocations: 8 kB / 403.5 MB, free: 10.67 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.0004962/0.1327, allocations: 0.7141 MB / 404.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1329, allocations: 75.39 kB / 404.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1329, allocations: 0 / 404.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.318e-05/0.133, allocations: 71.39 kB / 404.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1331, allocations: 4.156 kB / 404.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.1336, allocations: 227.1 kB / 404.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1339, allocations: 0.677 MB / 405.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.1339, allocations: 4 kB / 405.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.1339, allocations: 11.38 kB / 405.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.134, allocations: 0 / 405.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.1452, allocations: 1.068 MB / 406.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.1454, allocations: 220.8 kB / 406.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.858, allocations: 0 / 406.6 MB, free: 7.582 MB / 302.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) Environment - environmentSimulation: