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.005634/0.005634, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001251/0.001251, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.317/1.317, allocations: 205.1 MB / 222.5 MB, free: 4.395 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06156/0.06156, allocations: 14.16 MB / 284.1 MB, free: 6.871 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.001455/0.001455, allocations: 76.09 kB / 398.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2359, allocations: 50.13 MB / 448.7 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001679/0.2377, allocations: 0.6952 MB / 449.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.2378, allocations: 29.23 kB / 449.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.2379, allocations: 1.312 kB / 449.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.2379, allocations: 3.938 kB / 449.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.2379, allocations: 0 / 449.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.2381, allocations: 10.67 kB / 449.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.279e-05/0.2382, allocations: 23.66 kB / 449.5 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.2383, allocations: 7.016 kB / 449.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.2383, allocations: 15.16 kB / 449.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.2384, allocations: 6.812 kB / 449.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2384, allocations: 1.656 kB / 449.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.2384, allocations: 1.344 kB / 449.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.2384, allocations: 1.25 kB / 449.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.2384, allocations: 13.73 kB / 449.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.252e-05/0.2385, allocations: 8.484 kB / 449.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2385, allocations: 4 kB / 449.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2385, allocations: 0 / 449.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2385, allocations: 0 / 449.6 MB, free: 2.387 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.0002224/0.2388, allocations: 351.7 kB / 449.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2388, allocations: 8.875 kB / 449.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.2388, allocations: 7.469 kB / 449.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.104e-05/0.2389, allocations: 160.4 kB / 450.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2389, allocations: 5.484 kB / 450.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2389, allocations: 2.031 kB / 450.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.414e-05/0.239, allocations: 42.41 kB / 450.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.239, allocations: 192 / 450.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.239, allocations: 4.938 kB / 450.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.239, allocations: 0 / 450.1 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.2391, allocations: 13.38 kB / 450.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.2394, allocations: 247.3 kB / 450.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.2394, allocations: 29.11 kB / 450.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.2395, allocations: 19.78 kB / 450.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.2395, allocations: 0.75 kB / 450.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.2395, allocations: 35.69 kB / 450.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.2395, allocations: 0 / 450.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.2397, allocations: 94.58 kB / 450.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.2397, allocations: 77.11 kB / 450.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.237e-05/0.2397, allocations: 91.23 kB / 450.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.2397, allocations: 25.7 kB / 450.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.367e-05/0.2398, allocations: 85.36 kB / 450.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.2398, allocations: 4.938 kB / 450.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.2398, allocations: 24.55 kB / 450.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.2398, allocations: 316.1 kB / 451.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.2399, allocations: 8.406 kB / 451.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.2399, allocations: 4.188 kB / 451.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.2399, allocations: 78.56 kB / 451.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.24, allocations: 0 / 451.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.278e-05/0.24, allocations: 87.2 kB / 451.3 MB, free: 472 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2401, allocations: 38.98 kB / 451.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2401, allocations: 0 / 451.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2401, allocations: 0 / 451.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.369e-05/0.2401, allocations: 2.219 kB / 451.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2401, allocations: 0 / 451.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.2402, allocations: 2.344 kB / 451.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2402, allocations: 2.062 kB / 451.4 MB, free: 436 kB / 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.804e-05/0.2402, allocations: 141.9 kB / 451.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.2403, allocations: 6.062 kB / 451.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/0.2403, allocations: 7.125 kB / 451.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2403, allocations: 1.094 kB / 451.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2403, allocations: 0 / 451.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2403, allocations: 1.094 kB / 451.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.978e-05/0.2404, allocations: 159.9 kB / 451.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2404, allocations: 1.062 kB / 451.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-06/0.2404, allocations: 5.141 kB / 451.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2404, allocations: 5.062 kB / 451.7 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2404, allocations: 1.094 kB / 451.7 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2404, allocations: 3.984 kB / 451.7 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2405, allocations: 0 / 451.7 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.2406, allocations: 187.3 kB / 451.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.2406, allocations: 82.17 kB / 452 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2407, allocations: 1.094 kB / 452 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.2407, allocations: 5.562 kB / 452 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.2408, allocations: 9.812 kB / 452 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2408, allocations: 1.188 kB / 452 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.735e-05/0.2408, allocations: 79.31 kB / 452.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2408, allocations: 1.688 kB / 452.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002029/0.241, allocations: 5.312 kB / 452.1 MB, free: 15.67 MB / 334.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.301e-05/0.2411, allocations: 99.56 kB / 452.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.2412, allocations: 87.52 kB / 452.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2413, allocations: 0 / 452.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.2413, allocations: 68.17 kB / 452.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2415, allocations: 18.19 kB / 452.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.2417, allocations: 92.5 kB / 452.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.242, allocations: 0.6718 MB / 453.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.478e-06/0.242, allocations: 1.25 kB / 453.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.242, allocations: 7.438 kB / 453.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.242, allocations: 1.375 kB / 453.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of Templates: time 0.0024/0.2444, allocations: 0.5591 MB / 453.7 MB, free: 14.3 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches