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.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001046/0.001046, allocations: 188.3 kB / 16.13 MB, free: 6.656 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1984/0.1984, allocations: 16.77 MB / 306.7 MB, free: 14.94 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.91 kB / 373.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2775, allocations: 53.55 MB / 426.7 MB, free: 40.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001803/0.2794, allocations: 0.7659 MB / 427.4 MB, free: 40.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.2796, allocations: 28.16 kB / 427.5 MB, free: 40.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.2797, allocations: 4 kB / 427.5 MB, free: 40.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.2797, allocations: 5.484 kB / 427.5 MB, free: 40.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.913e-05/0.2798, allocations: 0 / 427.5 MB, free: 40.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.2799, allocations: 11.23 kB / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.28, allocations: 14.94 kB / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.436e-05/0.28, allocations: 2.375 kB / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.2801, allocations: 9.188 kB / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.2801, allocations: 7.25 kB / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2802, allocations: 2.938 kB / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.2802, allocations: 0 / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.2802, allocations: 7.984 kB / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.2802, allocations: 4.844 kB / 427.5 MB, free: 40.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.384e-05/0.2803, allocations: 18.42 kB / 427.6 MB, free: 40.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2803, allocations: 0 / 427.6 MB, free: 40.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2803, allocations: 0 / 427.6 MB, free: 40.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.2803, allocations: 0 / 427.6 MB, free: 40.41 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.0002863/0.2806, allocations: 345.4 kB / 427.9 MB, free: 40.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2807, allocations: 8.312 kB / 427.9 MB, free: 40.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.2807, allocations: 4.562 kB / 427.9 MB, free: 40.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.122e-05/0.2807, allocations: 166.5 kB / 428.1 MB, free: 39.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2808, allocations: 5 kB / 428.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.2808, allocations: 3.219 kB / 428.1 MB, free: 39.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.2809, allocations: 46.64 kB / 428.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.2809, allocations: 192 / 428.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2809, allocations: 3.938 kB / 428.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2809, allocations: 3.281 kB / 428.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.281, allocations: 11.88 kB / 428.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.2814, allocations: 248.8 kB / 428.4 MB, free: 39.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.198e-05/0.2814, allocations: 32.42 kB / 428.4 MB, free: 39.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.2815, allocations: 17.98 kB / 428.4 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2815, allocations: 0 / 428.4 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2815, allocations: 34.72 kB / 428.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2815, allocations: 0 / 428.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001806/0.2817, allocations: 85.75 kB / 428.6 MB, free: 39.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2817, allocations: 82.02 kB / 428.6 MB, free: 39.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.895e-05/0.2818, allocations: 89.86 kB / 428.7 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.2818, allocations: 26.58 kB / 428.7 MB, free: 39.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.2818, allocations: 87.3 kB / 428.8 MB, free: 39.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2818, allocations: 1.125 kB / 428.8 MB, free: 39.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2819, allocations: 18.38 kB / 428.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.2819, allocations: 310.8 kB / 429.2 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.2819, allocations: 9.562 kB / 429.2 MB, free: 38.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.282, allocations: 16.33 kB / 429.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.282, allocations: 76.86 kB / 429.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.282, allocations: 0 / 429.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.897e-05/0.2821, allocations: 81.7 kB / 429.3 MB, free: 38.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.2821, allocations: 32.45 kB / 429.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2821, allocations: 0 / 429.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2822, allocations: 0 / 429.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.2822, allocations: 6.844 kB / 429.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2822, allocations: 4.094 kB / 429.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.2823, allocations: 10.53 kB / 429.4 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.2823, allocations: 0 / 429.4 MB, free: 38.55 MB / 350.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 5.734e-05/0.2823, allocations: 145.5 kB / 429.5 MB, free: 38.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2824, allocations: 6.906 kB / 429.5 MB, free: 38.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/0.2824, allocations: 7.062 kB / 429.5 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2824, allocations: 0 / 429.5 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2824, allocations: 0 / 429.5 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2824, allocations: 3.938 kB / 429.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2825, allocations: 162.7 kB / 429.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2825, allocations: 2.781 kB / 429.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-06/0.2826, allocations: 0 / 429.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2826, allocations: 3.984 kB / 429.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2826, allocations: 2.594 kB / 429.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2826, allocations: 0 / 429.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2826, allocations: 0 / 429.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.2827, allocations: 175.7 kB / 429.9 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.2827, allocations: 86.64 kB / 430 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2828, allocations: 0 / 430 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.2828, allocations: 2.719 kB / 430 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.2829, allocations: 6.109 kB / 430 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.2829, allocations: 6.75 kB / 430 MB, free: 37.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.343e-05/0.2829, allocations: 75.28 kB / 430.1 MB, free: 37.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2829, allocations: 0 / 430.1 MB, free: 37.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.2831, allocations: 10.94 kB / 430.1 MB, free: 37.85 MB / 350.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 9.553e-05/0.2832, allocations: 103.2 kB / 430.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2834, allocations: 77.22 kB / 430.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2834, allocations: 0 / 430.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.964e-05/0.2834, allocations: 69.34 kB / 430.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.2836, allocations: 8.406 kB / 430.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.2838, allocations: 98.72 kB / 430.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.558e-05/0.2839, allocations: 0.6752 MB / 431.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.073e-05/0.284, allocations: 8.062 kB / 431.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.284, allocations: 10.31 kB / 431.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.284, allocations: 0 / 431.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of Templates: time 0.002128/0.2861, allocations: 0.4899 MB / 431.6 MB, free: 36.75 MB / 350.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=50 -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