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.001066/0.001067, allocations: 83.38 kB / 16.01 MB, free: 92 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.001441/0.001441, allocations: 188 kB / 16.92 MB, free: 6.293 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.423/1.423, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06054/0.06054, allocations: 14.17 MB / 285.6 MB, free: 7.023 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.000562/0.000562, allocations: 16 kB / 349.5 MB, free: 17.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09049, allocations: 51.11 MB / 400.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.0008681/0.09139, allocations: 433.5 kB / 401 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.09159, allocations: 31.89 kB / 401 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.09162, allocations: 4 kB / 401 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.09164, allocations: 0 / 401 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.09168, allocations: 4 kB / 401.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.09182, allocations: 7.938 kB / 401.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.09188, allocations: 15.98 kB / 401.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.09197, allocations: 4 kB / 401.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.092, allocations: 7.938 kB / 401.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.09206, allocations: 7.984 kB / 401.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.09208, allocations: 0 / 401.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.0921, allocations: 0 / 401.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.09212, allocations: 0 / 401.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.09216, allocations: 29.7 kB / 401.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.256e-05/0.09222, allocations: 19.97 kB / 401.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.09224, allocations: 7.922 kB / 401.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.09225, allocations: 0 / 401.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.09226, allocations: 0 / 401.2 MB, free: 13.76 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.0002947/0.09255, allocations: 337.6 kB / 401.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.0926, allocations: 11.97 kB / 401.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.09263, allocations: 4.938 kB / 401.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.09272, allocations: 168.3 kB / 401.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.09274, allocations: 384 / 401.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.09276, allocations: 384 / 401.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.09288, allocations: 50.19 kB / 401.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.0929, allocations: 192 / 401.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.09292, allocations: 7.938 kB / 401.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.09293, allocations: 0 / 401.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.09296, allocations: 8 kB / 401.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.09336, allocations: 245 kB / 402 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.09343, allocations: 30.52 kB / 402 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.09348, allocations: 24.84 kB / 402 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.09349, allocations: 0 / 402 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.09352, allocations: 34.56 kB / 402.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.09353, allocations: 0 / 402.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001909/0.09372, allocations: 87.3 kB / 402.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.09378, allocations: 77.11 kB / 402.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.211e-05/0.09381, allocations: 97.98 kB / 402.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.09383, allocations: 25.7 kB / 402.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.09387, allocations: 80.14 kB / 402.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.09389, allocations: 3.906 kB / 402.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.09392, allocations: 17.7 kB / 402.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.09402, allocations: 314.8 kB / 402.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.09404, allocations: 7.938 kB / 402.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.09407, allocations: 8 kB / 402.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.09414, allocations: 80.31 kB / 402.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.09415, allocations: 0 / 402.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.833e-05/0.09424, allocations: 83.33 kB / 402.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.09428, allocations: 33.7 kB / 403 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.0943, allocations: 3.984 kB / 403 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.09431, allocations: 0 / 403 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.09435, allocations: 0 / 403 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.09436, allocations: 0 / 403 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.09441, allocations: 8 kB / 403 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.09443, allocations: 32 / 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 8.256e-05/0.09452, allocations: 159.4 kB / 403.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.09455, allocations: 7.938 kB / 403.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.09457, allocations: 11.05 kB / 403.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.09458, allocations: 0 / 403.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.09459, allocations: 0 / 403.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.09459, allocations: 0 / 403.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.09474, allocations: 157.6 kB / 403.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.09475, allocations: 3.984 kB / 403.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.09476, allocations: 0 / 403.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.09477, allocations: 4 kB / 403.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.09478, allocations: 4 kB / 403.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.09479, allocations: 0 / 403.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.09479, allocations: 0 / 403.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.09494, allocations: 173.2 kB / 403.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.09498, allocations: 81.11 kB / 403.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.095, allocations: 4 kB / 403.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.09508, allocations: 8.016 kB / 403.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.09513, allocations: 7.938 kB / 403.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.09514, allocations: 0 / 403.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.09517, allocations: 75.28 kB / 403.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09518, allocations: 0 / 403.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.09539, allocations: 8 kB / 403.7 MB, free: 10.88 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.879e-05/0.09548, allocations: 99.19 kB / 403.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.09561, allocations: 79.39 kB / 403.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.09562, allocations: 4.062 kB / 403.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.09568, allocations: 67.39 kB / 403.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.09589, allocations: 7.938 kB / 403.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.09611, allocations: 124.4 kB / 404 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.09634, allocations: 0.677 MB / 404.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.09636, allocations: 7.438 kB / 404.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.09636, allocations: 0 / 404.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of Templates: time 0.001786/0.09816, allocations: 0.5292 MB / 405.2 MB, free: 9.203 MB / 302.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","../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches