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.0006858/0.0006858, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.003879/0.003879, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.131/1.131, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1658/0.1658, allocations: 16.75 MB / 308.2 MB, free: 15.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002569, allocations: 8 kB / 375.6 MB, free: 1.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2147, allocations: 54.56 MB / 430.1 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.0005996/0.2153, allocations: 434.5 kB / 430.6 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000145/0.2155, allocations: 30.59 kB / 430.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.2155, allocations: 3.344 kB / 430.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.2155, allocations: 0 / 430.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.089e-05/0.2156, allocations: 3.969 kB / 430.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.936e-05/0.2157, allocations: 6.938 kB / 430.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.96e-05/0.2157, allocations: 21.41 kB / 430.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.18e-05/0.2158, allocations: 0 / 430.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.2158, allocations: 7.797 kB / 430.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.2159, allocations: 6.906 kB / 430.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.2159, allocations: 3.406 kB / 430.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-06/0.2159, allocations: 0 / 430.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.2159, allocations: 3.938 kB / 430.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.2159, allocations: 30.78 kB / 430.7 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.724e-05/0.216, allocations: 19.03 kB / 430.7 MB, free: 39.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.216, allocations: 0 / 430.7 MB, free: 39.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.216, allocations: 3.938 kB / 430.7 MB, free: 39.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.216, allocations: 0 / 430.7 MB, free: 39.32 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.0001627/0.2162, allocations: 340.1 kB / 431 MB, free: 38.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.683e-05/0.2162, allocations: 11.22 kB / 431.1 MB, free: 38.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.2162, allocations: 0.9375 kB / 431.1 MB, free: 38.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.497e-05/0.2163, allocations: 168.4 kB / 431.2 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.2163, allocations: 3.125 kB / 431.2 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2163, allocations: 3.25 kB / 431.2 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.35e-05/0.2164, allocations: 47.55 kB / 431.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-06/0.2164, allocations: 192 / 431.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.2164, allocations: 5.766 kB / 431.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2164, allocations: 3.969 kB / 431.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.2165, allocations: 11.08 kB / 431.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.2167, allocations: 247.5 kB / 431.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.2168, allocations: 36.5 kB / 431.6 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.2168, allocations: 13.42 kB / 431.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-06/0.2168, allocations: 2.531 kB / 431.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.2168, allocations: 33.98 kB / 431.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2169, allocations: 0 / 431.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.217, allocations: 91.19 kB / 431.7 MB, free: 38.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.217, allocations: 80.36 kB / 431.8 MB, free: 38.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.118e-05/0.217, allocations: 93.86 kB / 431.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.2171, allocations: 25.7 kB / 431.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.083e-05/0.2171, allocations: 84.05 kB / 432 MB, free: 37.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.2171, allocations: 6.5 kB / 432 MB, free: 37.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.2171, allocations: 12.95 kB / 432 MB, free: 37.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 2.949e-05/0.2171, allocations: 310.8 kB / 432.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.2172, allocations: 8.531 kB / 432.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.2172, allocations: 8.438 kB / 432.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.2172, allocations: 81.05 kB / 432.4 MB, free: 37.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2172, allocations: 0 / 432.4 MB, free: 37.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.419e-05/0.2173, allocations: 85.12 kB / 432.5 MB, free: 37.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2173, allocations: 31.55 kB / 432.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2173, allocations: 0 / 432.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.2173, allocations: 0 / 432.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.769e-05/0.2174, allocations: 2.875 kB / 432.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.2174, allocations: 3.281 kB / 432.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.2174, allocations: 7.781 kB / 432.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.2174, allocations: 4.031 kB / 432.5 MB, free: 37.46 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 4.025e-05/0.2175, allocations: 139 kB / 432.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.2175, allocations: 7.125 kB / 432.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.001e-05/0.2175, allocations: 3.125 kB / 432.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2175, allocations: 3.938 kB / 432.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.2175, allocations: 2.688 kB / 432.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2175, allocations: 3.938 kB / 432.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.16e-05/0.2176, allocations: 158.6 kB / 432.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2176, allocations: 0 / 432.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-06/0.2177, allocations: 6.594 kB / 432.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2177, allocations: 0 / 432.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2177, allocations: 4 kB / 432.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2177, allocations: 0 / 432.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2177, allocations: 2.562 kB / 432.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.198e-05/0.2178, allocations: 182.1 kB / 433 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.2178, allocations: 77.11 kB / 433.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.2178, allocations: 3.188 kB / 433.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.2179, allocations: 6.969 kB / 433.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.2179, allocations: 0 / 433.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2179, allocations: 9.859 kB / 433.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.997e-06/0.2179, allocations: 75.28 kB / 433.2 MB, free: 36.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2179, allocations: 0 / 433.2 MB, free: 36.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000193/0.2181, allocations: 9.844 kB / 433.2 MB, free: 36.76 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 5.777e-05/0.2182, allocations: 104.6 kB / 433.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.2183, allocations: 83.94 kB / 433.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2183, allocations: 0 / 433.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.108e-05/0.2183, allocations: 69.03 kB / 433.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.2185, allocations: 4.797 kB / 433.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001473/0.2187, allocations: 96.09 kB / 433.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.855e-05/0.2187, allocations: 0.6726 MB / 434.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.325e-06/0.2188, allocations: 0 / 434.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-06/0.2188, allocations: 7.438 kB / 434.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2188, allocations: 8.062 kB / 434.3 MB, free: 35.72 MB / 350.1 MB Notification: Performance of Templates: time 0.001762/0.2205, allocations: 0.4919 MB / 434.7 MB, free: 35.67 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