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.00135/0.00135, allocations: 99.14 kB / 15.99 MB, free: 6.367 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.001475/0.001474, allocations: 199.1 kB / 16.92 MB, free: 6.203 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.28/1.28, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05757/0.05757, allocations: 14.16 MB / 284.3 MB, free: 7.266 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.001358/0.001358, allocations: 75.33 kB / 347.3 MB, free: 17.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09464, allocations: 50.13 MB / 397.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001893/0.09657, allocations: 0.77 MB / 398.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000151/0.09673, allocations: 19.92 kB / 398.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.09677, allocations: 0 / 398.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.09681, allocations: 7.984 kB / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.09686, allocations: 4 kB / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.09699, allocations: 7.984 kB / 398.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.964e-05/0.09709, allocations: 19.98 kB / 398.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.09718, allocations: 4 kB / 398.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.0972, allocations: 7.938 kB / 398.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.367e-05/0.09725, allocations: 7.984 kB / 398.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.09727, allocations: 4 kB / 398.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-06/0.09728, allocations: 3.938 kB / 398.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.0973, allocations: 0 / 398.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.09733, allocations: 8 kB / 398.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.15e-05/0.0974, allocations: 19.97 kB / 398.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.09741, allocations: 3.938 kB / 398.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.09742, allocations: 0 / 398.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.09742, allocations: 0 / 398.3 MB, free: 14.62 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.0002959/0.09772, allocations: 341.6 kB / 398.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.09776, allocations: 12.02 kB / 398.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.0978, allocations: 0.9375 kB / 398.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.017e-05/0.09789, allocations: 172.3 kB / 398.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.09791, allocations: 384 / 398.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.09792, allocations: 4.312 kB / 398.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.72e-05/0.09803, allocations: 46.25 kB / 398.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.09804, allocations: 192 / 398.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.09805, allocations: 7.938 kB / 398.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.09806, allocations: 4 kB / 398.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.0981, allocations: 11.98 kB / 398.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.09848, allocations: 244.9 kB / 399.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.788e-05/0.09855, allocations: 34.55 kB / 399.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.0986, allocations: 16.92 kB / 399.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.09862, allocations: 0 / 399.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.09865, allocations: 30.56 kB / 399.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.09866, allocations: 4 kB / 399.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.09884, allocations: 91.23 kB / 399.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.0989, allocations: 77.11 kB / 399.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.052e-05/0.09894, allocations: 93.98 kB / 399.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.09896, allocations: 29.7 kB / 399.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.09899, allocations: 84.12 kB / 399.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.09901, allocations: 3.906 kB / 399.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.09906, allocations: 17.72 kB / 399.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.09916, allocations: 310.8 kB / 399.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.09919, allocations: 8 kB / 399.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.09921, allocations: 7.984 kB / 399.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.497e-05/0.09928, allocations: 80.33 kB / 400 MB, free: 12.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09929, allocations: 0 / 400 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.963e-05/0.09939, allocations: 87.27 kB / 400.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.09943, allocations: 29.7 kB / 400.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.09944, allocations: 0 / 400.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.09946, allocations: 3.938 kB / 400.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.0995, allocations: 4 kB / 400.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.09951, allocations: 0 / 400.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.09956, allocations: 7.984 kB / 400.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.09958, allocations: 4.031 kB / 400.1 MB, free: 12.52 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 9.016e-05/0.09968, allocations: 143.5 kB / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.09971, allocations: 3.938 kB / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.356e-05/0.09972, allocations: 7.109 kB / 400.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.09973, allocations: 0 / 400.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.09974, allocations: 3.938 kB / 400.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.09975, allocations: 7.984 kB / 400.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.09988, allocations: 153.6 kB / 400.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.09989, allocations: 0 / 400.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.09991, allocations: 8 kB / 400.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.09991, allocations: 0 / 400.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.09992, allocations: 0 / 400.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.09993, allocations: 0 / 400.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.09994, allocations: 3.938 kB / 400.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.1004, allocations: 0.9588 MB / 401.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.1004, allocations: 81.11 kB / 401.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1004, allocations: 3.984 kB / 401.5 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.1005, allocations: 7.938 kB / 401.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.1005, allocations: 4 kB / 401.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1005, allocations: 0 / 401.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.16e-05/0.1006, allocations: 79.28 kB / 401.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1006, allocations: 0 / 401.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.1009, allocations: 12 kB / 401.6 MB, free: 10.9 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 8.319e-05/0.101, allocations: 103.2 kB / 401.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.1011, allocations: 79.39 kB / 401.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1011, allocations: 0 / 401.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/0.1012, allocations: 67.34 kB / 401.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.1014, allocations: 4 kB / 401.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.1016, allocations: 207.7 kB / 402.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.1019, allocations: 0.6768 MB / 402.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.18e-05/0.1019, allocations: 0 / 402.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.1019, allocations: 7.438 kB / 402.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1019, allocations: 0 / 402.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of Templates: time 0.1976/0.2995, allocations: 0.5229 MB / 403.3 MB, free: 9.152 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