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.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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_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.0009001/0.0009002, allocations: 86.09 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.000974/0.0009743, 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.521/1.521, 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.3/package.mo): time 0.06366/0.06366, allocations: 14.15 MB / 284.5 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.0005757/0.000576, allocations: 14.81 kB / 348.2 MB, free: 17.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1034, allocations: 51.12 MB / 399.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.0009365/0.1044, allocations: 426.9 kB / 399.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.1046, allocations: 31.84 kB / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.1046, allocations: 0 / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.1047, allocations: 0 / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.1047, allocations: 4 kB / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.1048, allocations: 4 kB / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.1049, allocations: 15.92 kB / 399.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.098e-05/0.105, allocations: 8 kB / 399.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.105, allocations: 7.984 kB / 399.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.1051, allocations: 3.938 kB / 399.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1051, allocations: 0 / 399.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.1051, allocations: 4 kB / 399.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.1051, allocations: 3.984 kB / 399.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.1052, allocations: 25.7 kB / 399.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.306e-05/0.1052, allocations: 19.97 kB / 399.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1052, allocations: 0 / 399.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1053, allocations: 0 / 399.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1053, allocations: 0 / 399.8 MB, free: 14.17 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.0003657/0.1056, allocations: 337.4 kB / 400.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1057, allocations: 12.02 kB / 400.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1057, allocations: 7.984 kB / 400.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1059, allocations: 167 kB / 400.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1059, allocations: 4 kB / 400.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.1059, allocations: 4 kB / 400.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.106, allocations: 49.64 kB / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1061, allocations: 0 / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1061, allocations: 0 / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1061, allocations: 0 / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.1061, allocations: 11.98 kB / 400.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1066, allocations: 248.8 kB / 400.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.1067, allocations: 30.62 kB / 400.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.1068, allocations: 16.91 kB / 400.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1068, allocations: 0 / 400.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1068, allocations: 34.56 kB / 400.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1068, allocations: 0 / 400.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.1071, allocations: 91.23 kB / 400.8 MB, free: 13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.1072, allocations: 81.11 kB / 400.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.688e-05/0.1072, allocations: 93.98 kB / 401 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1072, allocations: 25.7 kB / 401 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.1073, allocations: 80.14 kB / 401.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1073, allocations: 7.891 kB / 401.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.1073, allocations: 4 kB / 401.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1075, allocations: 314.8 kB / 401.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.1075, allocations: 7.938 kB / 401.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.1075, allocations: 8 kB / 401.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.1076, allocations: 45.69 kB / 401.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1076, allocations: 0 / 401.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001059/0.1077, allocations: 87.28 kB / 401.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.1078, allocations: 32.52 kB / 401.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1078, allocations: 0 / 401.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1078, allocations: 4 kB / 401.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.1078, allocations: 0 / 401.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1079, allocations: 3.984 kB / 401.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.1079, allocations: 4 kB / 401.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1079, allocations: 0 / 401.6 MB, free: 12.14 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.907e-05/0.108, allocations: 143.6 kB / 401.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1081, allocations: 3.953 kB / 401.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.1081, allocations: 7.125 kB / 401.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1081, allocations: 4 kB / 401.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1081, allocations: 0 / 401.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1081, allocations: 0 / 401.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1083, allocations: 145.7 kB / 401.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1083, allocations: 4 kB / 401.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.1083, allocations: 3.984 kB / 401.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1083, allocations: 7.953 kB / 401.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1083, allocations: 4 kB / 401.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1083, allocations: 0 / 401.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1083, allocations: 4 kB / 401.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.1085, allocations: 177.2 kB / 402.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.1085, allocations: 77.11 kB / 402.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1086, allocations: 7.953 kB / 402.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.1087, allocations: 4.031 kB / 402.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1087, allocations: 3.984 kB / 402.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1087, allocations: 8 kB / 402.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.581e-05/0.1088, allocations: 75.28 kB / 402.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1088, allocations: 0 / 402.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.109, allocations: 4 kB / 402.3 MB, free: 11.37 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.0001226/0.1091, allocations: 99.94 kB / 402.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1093, allocations: 75.39 kB / 402.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1093, allocations: 4.062 kB / 402.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.1094, allocations: 75.33 kB / 402.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1096, allocations: 3.938 kB / 402.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.1098, allocations: 98.75 kB / 402.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1101, allocations: 0.677 MB / 403.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.463e-05/0.1101, allocations: 4 kB / 403.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.1101, allocations: 7.438 kB / 403.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1101, allocations: 0 / 403.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of Templates: time 0.00261/0.1128, allocations: 485.5 kB / 403.8 MB, free: 9.773 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (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 & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat does not exist to compare? outputFormat=mat