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.00141/0.00141, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001398/0.001398, allocations: 187 kB / 17.34 MB, free: 5.742 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07473/0.07473, allocations: 16.78 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 429.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1184, allocations: 53.56 MB / 482.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002058/0.1205, allocations: 0.691 MB / 483.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001758/0.1207, allocations: 27.97 kB / 483.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.1208, allocations: 0 / 483.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.1208, allocations: 7.875 kB / 483.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.1209, allocations: 0 / 483.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.121, allocations: 15.98 kB / 483.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1211, allocations: 23.98 kB / 483.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.1212, allocations: 4 kB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.1212, allocations: 0 / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.1213, allocations: 11.98 kB / 483.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1213, allocations: 0 / 483.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.1213, allocations: 4 kB / 483.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.1214, allocations: 3.984 kB / 483.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.1214, allocations: 11.94 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.573e-05/0.1215, allocations: 19.91 kB / 483.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1215, allocations: 0 / 483.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1215, allocations: 4 kB / 483.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1215, allocations: 0 / 483.8 MB, free: 2.023 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.0003413/0.1218, allocations: 349.2 kB / 484.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1219, allocations: 12.03 kB / 484.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.1219, allocations: 0.9375 kB / 484.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.904e-05/0.122, allocations: 160.4 kB / 484.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1221, allocations: 4.375 kB / 484.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1221, allocations: 384 / 484.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1222, allocations: 42.25 kB / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1222, allocations: 8.172 kB / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1222, allocations: 3.938 kB / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1222, allocations: 0 / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.1e-05/0.1223, allocations: 19.92 kB / 484.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1227, allocations: 240.9 kB / 484.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.059e-05/0.1228, allocations: 34.55 kB / 484.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.1228, allocations: 20.92 kB / 484.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1229, allocations: 0 / 484.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1229, allocations: 30.56 kB / 484.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.1229, allocations: 0 / 484.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002205/0.1231, allocations: 91.33 kB / 484.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1232, allocations: 77.11 kB / 484.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.913e-05/0.1232, allocations: 93.84 kB / 484.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1233, allocations: 25.83 kB / 484.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.1233, allocations: 84.14 kB / 485 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.1233, allocations: 11.84 kB / 485 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1234, allocations: 17.72 kB / 485.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1235, allocations: 310.8 kB / 485.4 MB, free: 188 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.1235, allocations: 11.98 kB / 485.4 MB, free: 176 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.1235, allocations: 4 kB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/0.1236, allocations: 76.27 kB / 485.5 MB, free: 80 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1236, allocations: 4.062 kB / 485.5 MB, free: 76 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.1237, allocations: 83.27 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.1238, allocations: 33.7 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1238, allocations: 0 / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1238, allocations: 0 / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.1239, allocations: 7.984 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1239, allocations: 3.984 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1239, allocations: 0 / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1239, allocations: 8 kB / 485.6 MB, free: 15.92 MB / 366.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.687e-05/0.124, allocations: 135.6 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.1241, allocations: 7.938 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.1241, allocations: 3.125 kB / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1241, allocations: 3.984 kB / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1241, allocations: 0 / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1241, allocations: 0 / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1243, allocations: 157.6 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1243, allocations: 0 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.1243, allocations: 4 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1243, allocations: 4 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1243, allocations: 7.938 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1243, allocations: 3.938 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1243, allocations: 0 / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.1245, allocations: 185.1 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1245, allocations: 81.09 kB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1245, allocations: 0 / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.1246, allocations: 4 kB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1247, allocations: 4.031 kB / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1247, allocations: 0 / 486.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.558e-05/0.1247, allocations: 75.28 kB / 486.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1247, allocations: 0 / 486.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1249, allocations: 11.98 kB / 486.3 MB, free: 15.14 MB / 366.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.0001046/0.125, allocations: 99.25 kB / 486.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1252, allocations: 79.33 kB / 486.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1252, allocations: 64 / 486.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.1252, allocations: 71.41 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.1255, allocations: 14.12 kB / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.1257, allocations: 118.6 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.126, allocations: 0.6768 MB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.126, allocations: 7.438 kB / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.126, allocations: 0 / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Templates: time 0.001892/0.1279, allocations: 0.5373 MB / 487.9 MB, free: 13.45 MB / 366.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=480 -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