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.001552/0.001552, allocations: 104.3 kB / 16.27 MB, free: 5.984 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.001723/0.001723, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.283/1.283, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06259/0.06259, allocations: 14.17 MB / 284.6 MB, free: 13.93 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.001555/0.001555, allocations: 79.8 kB / 347.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.198, allocations: 50.13 MB / 398 MB, free: 48.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001782/0.1998, allocations: 0.6889 MB / 398.7 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001473/0.2, allocations: 30.7 kB / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.2, allocations: 4 kB / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.2001, allocations: 0 / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.2001, allocations: 1.062 kB / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2003, allocations: 10.23 kB / 398.7 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.2003, allocations: 24.19 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.145e-05/0.2004, allocations: 3.219 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.2005, allocations: 7.047 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.2005, allocations: 5.906 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.2005, allocations: 1.75 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.2005, allocations: 2.156 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.2006, allocations: 16.98 kB / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.2006, allocations: 9.797 kB / 398.8 MB, free: 47.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.945e-05/0.2007, allocations: 12.08 kB / 398.8 MB, free: 47.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2007, allocations: 3.938 kB / 398.8 MB, free: 47.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2007, allocations: 0 / 398.8 MB, free: 47.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.2007, allocations: 1.188 kB / 398.8 MB, free: 47.96 MB / 318.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.0002186/0.2009, allocations: 345.4 kB / 399.1 MB, free: 47.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2009, allocations: 9.281 kB / 399.1 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.201, allocations: 3.219 kB / 399.1 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.129e-05/0.201, allocations: 160.4 kB / 399.3 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.201, allocations: 5.531 kB / 399.3 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2011, allocations: 7.047 kB / 399.3 MB, free: 47.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.2012, allocations: 45.06 kB / 399.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2012, allocations: 1.312 kB / 399.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2012, allocations: 3.938 kB / 399.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2012, allocations: 1.062 kB / 399.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.2012, allocations: 13.38 kB / 399.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.2016, allocations: 246.9 kB / 399.6 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.65e-05/0.2016, allocations: 29.36 kB / 399.6 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.2016, allocations: 19.66 kB / 399.7 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.2017, allocations: 1.188 kB / 399.7 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.2017, allocations: 30.56 kB / 399.7 MB, free: 46.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.2017, allocations: 1.062 kB / 399.7 MB, free: 46.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.2019, allocations: 93.48 kB / 399.8 MB, free: 46.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2019, allocations: 78.42 kB / 399.9 MB, free: 46.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.663e-05/0.2019, allocations: 89.86 kB / 400 MB, free: 46.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.2019, allocations: 26.89 kB / 400 MB, free: 46.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/0.202, allocations: 80.14 kB / 400.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.202, allocations: 5.125 kB / 400.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.202, allocations: 17.25 kB / 400.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.289e-05/0.2021, allocations: 316 kB / 400.4 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.2021, allocations: 12.62 kB / 400.4 MB, free: 46.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.2021, allocations: 4.438 kB / 400.4 MB, free: 46.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.2022, allocations: 82.09 kB / 400.5 MB, free: 46.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2022, allocations: 0 / 400.5 MB, free: 46.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.099e-05/0.2022, allocations: 82.17 kB / 400.6 MB, free: 46.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2023, allocations: 32.08 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2023, allocations: 0 / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2023, allocations: 1.125 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.2023, allocations: 5.156 kB / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2023, allocations: 1.188 kB / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.2024, allocations: 6.094 kB / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2024, allocations: 5.219 kB / 400.6 MB, free: 46 MB / 318.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 4.655e-05/0.2025, allocations: 142.9 kB / 400.8 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.2025, allocations: 5.062 kB / 400.8 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.121e-05/0.2025, allocations: 11.02 kB / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2025, allocations: 1.156 kB / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2025, allocations: 0 / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2025, allocations: 9.062 kB / 400.8 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.2026, allocations: 159.9 kB / 400.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2026, allocations: 1.156 kB / 400.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.2027, allocations: 9.172 kB / 400.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2027, allocations: 0 / 400.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2027, allocations: 8.953 kB / 401 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2027, allocations: 1.125 kB / 401 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2027, allocations: 0 / 401 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.2028, allocations: 183.7 kB / 401.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.2028, allocations: 77.11 kB / 401.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2028, allocations: 1.219 kB / 401.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.2029, allocations: 2.688 kB / 401.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.203, allocations: 5.172 kB / 401.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.203, allocations: 1.812 kB / 401.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.108e-05/0.203, allocations: 75.28 kB / 401.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.203, allocations: 0 / 401.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.2032, allocations: 5.781 kB / 401.3 MB, free: 45.25 MB / 318.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 7.108e-05/0.2033, allocations: 104.1 kB / 401.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.2034, allocations: 82.67 kB / 401.5 MB, free: 45.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2034, allocations: 1.406 kB / 401.5 MB, free: 45.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.786e-05/0.2035, allocations: 68.17 kB / 401.5 MB, free: 45.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.2037, allocations: 10.62 kB / 401.6 MB, free: 45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.2039, allocations: 123.2 kB / 401.7 MB, free: 44.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.857e-05/0.2039, allocations: 0.6756 MB / 402.4 MB, free: 44.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.204, allocations: 12.97 kB / 402.4 MB, free: 44.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.204, allocations: 0 / 402.4 MB, free: 44.16 MB / 318.1 MB Notification: Performance of Templates: time 0.001852/0.2058, allocations: 0.5282 MB / 402.9 MB, free: 43.89 MB / 318.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) diffSimulationResults("PowerGrids_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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches