Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_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.00123/0.00123, allocations: 105.3 kB / 16.41 MB, free: 6.023 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.001409/0.001409, allocations: 189.7 kB / 17.34 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07407/0.07407, allocations: 16.78 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 63.91 kB / 429.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1022, allocations: 53.56 MB / 482.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00202/0.1043, allocations: 0.6933 MB / 483.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002006/0.1045, allocations: 35.91 kB / 483.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.1046, allocations: 0 / 483.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.1046, allocations: 3.938 kB / 483.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.1047, allocations: 0 / 483.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1049, allocations: 11.92 kB / 483.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.105, allocations: 23.98 kB / 483.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.1051, allocations: 4 kB / 483.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.1052, allocations: 7.984 kB / 483.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.1052, allocations: 4 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1052, allocations: 0 / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.1052, allocations: 4 kB / 483.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.1053, allocations: 4 kB / 483.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.1053, allocations: 15.92 kB / 483.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.663e-05/0.1054, allocations: 19.91 kB / 483.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1054, allocations: 0 / 483.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1054, allocations: 0 / 483.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1054, allocations: 0 / 483.8 MB, free: 2.004 MB / 350.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.0003476/0.1058, allocations: 349.2 kB / 484.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1058, allocations: 12.03 kB / 484.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1059, allocations: 0.9375 kB / 484.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.106, allocations: 164.4 kB / 484.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.106, allocations: 4.375 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.106, allocations: 4.359 kB / 484.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1061, allocations: 46.19 kB / 484.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1061, allocations: 192 / 484.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1062, allocations: 7.922 kB / 484.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1062, allocations: 0 / 484.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.1062, allocations: 12 kB / 484.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1066, allocations: 252.9 kB / 484.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.1067, allocations: 34.45 kB / 484.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.1068, allocations: 16.91 kB / 484.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.1068, allocations: 4 kB / 484.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1068, allocations: 30.56 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.1068, allocations: 0 / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000208/0.107, allocations: 87.39 kB / 484.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1071, allocations: 77.11 kB / 484.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.165e-05/0.1071, allocations: 89.86 kB / 484.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1072, allocations: 25.7 kB / 485 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.1072, allocations: 84.14 kB / 485 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.1072, allocations: 7.906 kB / 485 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.1073, allocations: 13.72 kB / 485.1 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1074, allocations: 314.8 kB / 485.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.1074, allocations: 16.06 kB / 485.4 MB, free: 152 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.1074, allocations: 8 kB / 485.4 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.759e-05/0.1075, allocations: 80.25 kB / 485.5 MB, free: 48 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1075, allocations: 0 / 485.5 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.1076, allocations: 79.33 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.1077, allocations: 33.7 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1077, allocations: 0 / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1077, allocations: 0 / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.1077, allocations: 0 / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1078, allocations: 8.094 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.1078, allocations: 0 / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1078, allocations: 3.938 kB / 485.6 MB, free: 15.91 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.1079, allocations: 139.5 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.1079, allocations: 11.88 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.498e-05/0.108, allocations: 7.125 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.108, allocations: 0 / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.108, allocations: 0 / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.108, allocations: 0 / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1081, allocations: 157.6 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1081, allocations: 0 / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.1082, allocations: 3.984 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1082, allocations: 8 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1082, allocations: 3.938 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1082, allocations: 0 / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1082, allocations: 0 / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1083, allocations: 189.1 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.1084, allocations: 77.11 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1084, allocations: 0 / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.1085, allocations: 4 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.1085, allocations: 7.922 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1085, allocations: 4 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.769e-05/0.1086, allocations: 75.28 kB / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1086, allocations: 0 / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.1088, allocations: 8 kB / 486.3 MB, free: 15.12 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001131/0.1089, allocations: 99.28 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.1091, allocations: 79.39 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1091, allocations: 0 / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.334e-05/0.1091, allocations: 71.39 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.1093, allocations: 7.875 kB / 486.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.1096, allocations: 126.6 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1099, allocations: 0.6729 MB / 487.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.1099, allocations: 11.56 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1099, allocations: 0 / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Templates: time 0.002134/0.112, allocations: 0.5181 MB / 487.8 MB, free: 13.44 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches