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.0008099/0.00081, allocations: 93.73 kB / 16.03 MB, free: 76 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.0009315/0.0009315, allocations: 177.8 kB / 16.92 MB, free: 6.719 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.641/1.641, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05949/0.05949, allocations: 14.16 MB / 285.6 MB, free: 7.055 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.0005167/0.0005166, allocations: 15.94 kB / 349.5 MB, free: 17.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 51.11 MB / 400.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001186/0.1186, allocations: 449.4 kB / 401 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.1188, allocations: 31.89 kB / 401.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.1189, allocations: 0 / 401.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1189, allocations: 0 / 401.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.119, allocations: 0 / 401.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1191, allocations: 8 kB / 401.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.1192, allocations: 15.98 kB / 401.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.1193, allocations: 0 / 401.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.1193, allocations: 7.984 kB / 401.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.1194, allocations: 11.98 kB / 401.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1194, allocations: 4 kB / 401.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.1194, allocations: 0 / 401.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.1195, allocations: 3.938 kB / 401.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.1195, allocations: 29.7 kB / 401.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.273e-05/0.1196, allocations: 15.97 kB / 401.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1196, allocations: 0 / 401.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1196, allocations: 0 / 401.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1196, allocations: 0 / 401.2 MB, free: 13.77 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.0003406/0.12, allocations: 337.6 kB / 401.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.12, allocations: 8.031 kB / 401.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.1201, allocations: 8.938 kB / 401.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1202, allocations: 168.3 kB / 401.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1202, allocations: 384 / 401.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1202, allocations: 8.375 kB / 401.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1203, allocations: 46.12 kB / 401.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1203, allocations: 192 / 401.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1204, allocations: 7.938 kB / 401.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1204, allocations: 0 / 401.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.1204, allocations: 7.984 kB / 401.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.1209, allocations: 248.9 kB / 402 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.1209, allocations: 34.48 kB / 402 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.121, allocations: 16.92 kB / 402 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.121, allocations: 0 / 402 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.121, allocations: 34.56 kB / 402.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.121, allocations: 4 kB / 402.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002237/0.1213, allocations: 87.23 kB / 402.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1213, allocations: 85.09 kB / 402.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.55e-05/0.1214, allocations: 93.86 kB / 402.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1214, allocations: 25.7 kB / 402.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.1215, allocations: 80.14 kB / 402.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1215, allocations: 3.906 kB / 402.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.1215, allocations: 9.719 kB / 402.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1216, allocations: 323 kB / 402.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.1217, allocations: 7.984 kB / 402.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.1217, allocations: 8 kB / 402.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.879e-05/0.1218, allocations: 72.27 kB / 402.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1218, allocations: 4 kB / 402.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.912e-05/0.1219, allocations: 83.27 kB / 402.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.1219, allocations: 33.7 kB / 403 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1219, allocations: 0 / 403 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.122, allocations: 8.094 kB / 403 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.409e-05/0.122, allocations: 3.984 kB / 403 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.122, allocations: 0 / 403 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.1221, allocations: 4 kB / 403 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1221, allocations: 0 / 403 MB, free: 11.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1222, allocations: 139.5 kB / 403.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1222, allocations: 7.938 kB / 403.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.1223, allocations: 7.125 kB / 403.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1223, allocations: 3.984 kB / 403.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1223, allocations: 4 kB / 403.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1223, allocations: 7.922 kB / 403.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1224, allocations: 153.6 kB / 403.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1225, allocations: 0 / 403.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.1225, allocations: 0 / 403.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1225, allocations: 0 / 403.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1225, allocations: 4 kB / 403.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1225, allocations: 3.938 kB / 403.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1225, allocations: 0 / 403.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.123, allocations: 0.7335 MB / 404 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.123, allocations: 81.09 kB / 404.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.123, allocations: 0 / 404.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.1231, allocations: 4 kB / 404.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.1232, allocations: 0 / 404.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1232, allocations: 4 kB / 404.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.049e-05/0.1232, allocations: 87.19 kB / 404.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1232, allocations: 0 / 404.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.1236, allocations: 8 kB / 404.2 MB, free: 10.29 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 (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.0001153/0.1237, allocations: 103.2 kB / 404.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.1238, allocations: 79.39 kB / 404.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1238, allocations: 0 / 404.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.1239, allocations: 67.41 kB / 404.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.1241, allocations: 0 / 404.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.1244, allocations: 201.5 kB / 404.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1247, allocations: 0.677 MB / 405.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.1247, allocations: 3.938 kB / 405.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.1247, allocations: 11.38 kB / 405.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1247, allocations: 0 / 405.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of Templates: time 0.002415/0.1271, allocations: 500 kB / 405.8 MB, free: 8.586 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches