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.001126/0.001126, allocations: 88.17 kB / 15.71 MB, free: 452 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.001815/0.001815, allocations: 175.8 kB / 16.59 MB, free: 6.855 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.533/1.533, allocations: 205.4 MB / 222.8 MB, free: 5.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06056/0.06056, allocations: 14.17 MB / 285.2 MB, free: 7.09 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.0005702/0.0005702, allocations: 16 kB / 348.9 MB, free: 17.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1189, allocations: 51.12 MB / 400 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001258/0.1202, allocations: 433.8 kB / 400.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002188/0.1205, allocations: 19.98 kB / 400.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.1205, allocations: 0 / 400.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.1206, allocations: 7.922 kB / 400.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.1206, allocations: 0 / 400.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.1208, allocations: 4 kB / 400.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.1209, allocations: 15.98 kB / 400.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.121, allocations: 4 kB / 400.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.263e-05/0.121, allocations: 11.94 kB / 400.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.1211, allocations: 3.984 kB / 400.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1211, allocations: 3.938 kB / 400.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.1211, allocations: 4 kB / 400.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.1212, allocations: 7.922 kB / 400.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.1212, allocations: 25.7 kB / 400.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.1213, allocations: 7.984 kB / 400.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.1214, allocations: 4 kB / 400.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1214, allocations: 4 kB / 400.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1214, allocations: 0 / 400.6 MB, free: 14.04 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.0003777/0.1218, allocations: 341.1 kB / 400.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.1218, allocations: 8.031 kB / 400.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1219, allocations: 34.56 kB / 401 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1219, allocations: 0 / 401 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1221, allocations: 163.1 kB / 401.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1221, allocations: 4 kB / 401.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1221, allocations: 7.953 kB / 401.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1222, allocations: 45.69 kB / 401.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1223, allocations: 3.938 kB / 401.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1223, allocations: 0 / 401.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1223, allocations: 0 / 401.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.068e-05/0.1223, allocations: 12 kB / 401.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.1229, allocations: 248.8 kB / 401.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.123, allocations: 26.58 kB / 401.5 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.123, allocations: 20.91 kB / 401.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.123, allocations: 4 kB / 401.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1231, allocations: 38.5 kB / 401.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.1231, allocations: 3.984 kB / 401.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.1233, allocations: 83.39 kB / 401.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.1234, allocations: 81.11 kB / 401.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.066e-05/0.1235, allocations: 89.98 kB / 401.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1235, allocations: 29.7 kB / 401.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1235, allocations: 80.14 kB / 401.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.1236, allocations: 3.906 kB / 401.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1236, allocations: 4 kB / 401.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1237, allocations: 318.8 kB / 402.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.1238, allocations: 4 kB / 402.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.1238, allocations: 11.94 kB / 402.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.429e-05/0.1238, allocations: 37.64 kB / 402.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1238, allocations: 4.062 kB / 402.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.877e-05/0.124, allocations: 83.34 kB / 402.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.124, allocations: 33.7 kB / 402.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.124, allocations: 7.922 kB / 402.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.124, allocations: 3.984 kB / 402.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.1241, allocations: 0 / 402.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1241, allocations: 0 / 402.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.1241, allocations: 4 kB / 402.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1242, allocations: 0 / 402.4 MB, free: 11.97 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 0.0001097/0.1243, allocations: 139.6 kB / 402.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.1243, allocations: 3.953 kB / 402.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.1243, allocations: 15.11 kB / 402.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1243, allocations: 0 / 402.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1244, allocations: 0 / 402.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1244, allocations: 0 / 402.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.1245, allocations: 149.7 kB / 402.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1246, allocations: 0 / 402.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.1246, allocations: 3.938 kB / 402.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1246, allocations: 3.953 kB / 402.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1246, allocations: 8 kB / 402.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1246, allocations: 0 / 402.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1246, allocations: 0 / 402.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.1251, allocations: 0.7257 MB / 403.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.1252, allocations: 85.09 kB / 403.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1252, allocations: 0 / 403.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-05/0.1253, allocations: 8.031 kB / 403.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.1253, allocations: 0 / 403.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1253, allocations: 0 / 403.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.135e-05/0.1254, allocations: 79.27 kB / 403.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 0 / 403.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.1257, allocations: 12 kB / 403.6 MB, free: 10.6 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.0004835/0.1262, allocations: 0.7102 MB / 404.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1264, allocations: 75.33 kB / 404.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1264, allocations: 0 / 404.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-05/0.1265, allocations: 71.41 kB / 404.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.1267, allocations: 3.938 kB / 404.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.1271, allocations: 235.2 kB / 404.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1274, allocations: 0.6692 MB / 405.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.876e-05/0.1275, allocations: 7.984 kB / 405.4 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.1275, allocations: 7.438 kB / 405.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1275, allocations: 0 / 405.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.1391, allocations: 1.081 MB / 406.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.1394, allocations: 230.8 kB / 406.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.058, allocations: 7.516 kB / 406.7 MB, free: 7.496 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: