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.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.0009763, 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.001175/0.001175, allocations: 175.6 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.657/1.657, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06882/0.06882, allocations: 14.17 MB / 285.2 MB, free: 7.141 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.0005583/0.0005584, allocations: 12 kB / 348.8 MB, free: 17.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1051, allocations: 51.13 MB / 399.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001023/0.1062, allocations: 425.6 kB / 400.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001921/0.1064, allocations: 27.91 kB / 400.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.1065, allocations: 7.938 kB / 400.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.1065, allocations: 0 / 400.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.1066, allocations: 0 / 400.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.1068, allocations: 7.938 kB / 400.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.1068, allocations: 15.98 kB / 400.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.1069, allocations: 0 / 400.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.107, allocations: 8 kB / 400.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.107, allocations: 11.97 kB / 400.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1071, allocations: 0 / 400.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.1071, allocations: 3.938 kB / 400.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1071, allocations: 0 / 400.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1071, allocations: 33.7 kB / 400.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.187e-05/0.1072, allocations: 7.922 kB / 400.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1072, allocations: 4 kB / 400.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1072, allocations: 0 / 400.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1072, allocations: 0 / 400.5 MB, free: 14.18 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.0003744/0.1076, allocations: 341.4 kB / 400.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1077, allocations: 8.031 kB / 400.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.1077, allocations: 0 / 400.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1078, allocations: 167 kB / 401 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1079, allocations: 8 kB / 401 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1079, allocations: 0 / 401 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1081, allocations: 49.64 kB / 401 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1081, allocations: 0 / 401 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1081, allocations: 0 / 401 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1081, allocations: 4 kB / 401 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.1082, allocations: 7.938 kB / 401 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.1089, allocations: 248.9 kB / 401.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.109, allocations: 30.58 kB / 401.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.1091, allocations: 20.91 kB / 401.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1091, allocations: 0 / 401.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.1092, allocations: 30.56 kB / 401.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.1092, allocations: 0 / 401.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003539/0.1095, allocations: 91.23 kB / 401.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.1096, allocations: 85.23 kB / 401.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.1097, allocations: 89.86 kB / 401.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1098, allocations: 25.7 kB / 401.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.1098, allocations: 80.14 kB / 401.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1099, allocations: 7.906 kB / 401.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1099, allocations: 0 / 401.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.1101, allocations: 314.8 kB / 402 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.1102, allocations: 8 kB / 402 MB, free: 12.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.1102, allocations: 15.94 kB / 402.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.1103, allocations: 37.7 kB / 402.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.1103, allocations: 0 / 402.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001569/0.1105, allocations: 83.22 kB / 402.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.1105, allocations: 37.7 kB / 402.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1105, allocations: 4 kB / 402.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.1106, allocations: 3.984 kB / 402.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.1106, allocations: 0 / 402.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1107, allocations: 4 kB / 402.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.1107, allocations: 4.094 kB / 402.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1108, allocations: 0 / 402.2 MB, free: 12.15 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.0001396/0.1109, allocations: 135.5 kB / 402.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.111, allocations: 7.953 kB / 402.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.111, allocations: 7.109 kB / 402.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.111, allocations: 0 / 402.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.111, allocations: 0 / 402.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.111, allocations: 0 / 402.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.1113, allocations: 153.7 kB / 402.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1113, allocations: 0 / 402.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.1113, allocations: 4 kB / 402.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.1113, allocations: 7.953 kB / 402.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1114, allocations: 0 / 402.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1114, allocations: 0 / 402.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1114, allocations: 0 / 402.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.1121, allocations: 0.7296 MB / 403.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.1122, allocations: 85.12 kB / 403.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.1122, allocations: 3.984 kB / 403.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.1123, allocations: 4 kB / 403.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.1124, allocations: 3.938 kB / 403.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1124, allocations: 7.984 kB / 403.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.1124, allocations: 75.28 kB / 403.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1124, allocations: 0 / 403.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.1129, allocations: 4 kB / 403.5 MB, free: 10.79 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.0002205/0.1131, allocations: 99.94 kB / 403.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1134, allocations: 79.39 kB / 403.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1134, allocations: 0 / 403.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.1135, allocations: 67.41 kB / 403.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.1137, allocations: 7.953 kB / 403.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.1143, allocations: 205.3 kB / 403.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.1147, allocations: 0.6771 MB / 404.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.586e-05/0.1148, allocations: 7.938 kB / 404.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.1148, allocations: 7.438 kB / 404.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1148, allocations: 0 / 404.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of Templates: time 0.002709/0.1175, allocations: 490 kB / 405.1 MB, free: 9.078 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (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 & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat does not exist to compare? outputFormat=mat