Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0083/0.0083, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001809/0.001809, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.433/1.433, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06543/0.06543, allocations: 14.16 MB / 284.1 MB, free: 6.988 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.001885/0.001886, allocations: 71.91 kB / 398.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2578, allocations: 50.13 MB / 448.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.002762/0.2606, allocations: 2.107 MB / 450.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000826/0.2614, allocations: 459.1 kB / 450.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.731e-05/0.2616, allocations: 8.25 kB / 450.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.2618, allocations: 97.77 kB / 450.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.262, allocations: 58.53 kB / 451 MB, free: 496 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.2625, allocations: 261 kB / 451.2 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.2628, allocations: 260.2 kB / 451.5 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.263, allocations: 126.8 kB / 451.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.2631, allocations: 89.5 kB / 451.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2632, allocations: 117.9 kB / 451.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.2634, allocations: 31.62 kB / 451.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2635, allocations: 71.08 kB / 451.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.2636, allocations: 59.47 kB / 452 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.2637, allocations: 132.7 kB / 452.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.2641, allocations: 380.9 kB / 452.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2641, allocations: 0 / 452.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2641, allocations: 0.9688 kB / 452.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2641, allocations: 0 / 452.5 MB, free: 15.44 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001786/0.2659, allocations: 0.7459 MB / 453.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.266, allocations: 9.188 kB / 453.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.266, allocations: 67.38 kB / 453.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.2661, allocations: 33.31 kB / 453.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2663, allocations: 222.7 kB / 453.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.2663, allocations: 19.19 kB / 453.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.2664, allocations: 26.75 kB / 453.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.2669, allocations: 319.7 kB / 453.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2669, allocations: 5.188 kB / 453.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.2669, allocations: 13.38 kB / 453.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.267, allocations: 7.844 kB / 453.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.2675, allocations: 334.7 kB / 454.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.2691, allocations: 1.068 MB / 455.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.2694, allocations: 170.5 kB / 455.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.2696, allocations: 107.7 kB / 455.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2696, allocations: 5.031 kB / 455.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2697, allocations: 32.81 kB / 455.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.2697, allocations: 4 kB / 455.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006798/0.2704, allocations: 353.4 kB / 456 MB, free: 12.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.2704, allocations: 60.97 kB / 456 MB, free: 12.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.2707, allocations: 277.9 kB / 456.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2707, allocations: 30.58 kB / 456.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2708, allocations: 174.9 kB / 456.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.2709, allocations: 44.73 kB / 456.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.271, allocations: 36.7 kB / 456.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2711, allocations: 336.2 kB / 456.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2712, allocations: 99.52 kB / 457 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.2714, allocations: 109.1 kB / 457.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.2717, allocations: 213.2 kB / 457.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2717, allocations: 3.938 kB / 457.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005038/0.2722, allocations: 272.5 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2722, allocations: 6.031 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2723, allocations: 0 / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2723, allocations: 9.312 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.2725, allocations: 34.23 kB / 457.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2725, allocations: 5.328 kB / 457.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2726, allocations: 19.84 kB / 457.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.2726, allocations: 12.86 kB / 457.7 MB, free: 11.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001275/0.2728, allocations: 139.3 kB / 457.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.2728, allocations: 22.73 kB / 457.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.2729, allocations: 32.14 kB / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2729, allocations: 10.06 kB / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2729, allocations: 0 / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2729, allocations: 4.938 kB / 457.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009087/0.2738, allocations: 0.7664 MB / 458.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2739, allocations: 5.156 kB / 458.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.274, allocations: 34.47 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.274, allocations: 2.625 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2741, allocations: 5.406 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2741, allocations: 5.156 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2741, allocations: 0.9375 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.2746, allocations: 368.5 kB / 459.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.2747, allocations: 112 kB / 459.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.2747, allocations: 1.406 kB / 459.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2748, allocations: 5.188 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2749, allocations: 13.39 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2749, allocations: 7.906 kB / 459.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.2751, allocations: 209 kB / 459.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2751, allocations: 0 / 459.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.2754, allocations: 46.42 kB / 459.4 MB, free: 10.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0007854/0.2762, allocations: 0.915 MB / 460.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004884/0.2767, allocations: 214.7 kB / 460.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2767, allocations: 0 / 460.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.277, allocations: 120.5 kB / 460.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2773, allocations: 18.36 kB / 460.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.2807, allocations: 2.756 MB / 463.5 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.2812, allocations: 0.75 MB / 464.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000672/0.2818, allocations: 0.4915 MB / 464.7 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.282, allocations: 79.41 kB / 464.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.282, allocations: 0 / 464.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.3047, allocations: 4.83 MB / 469.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.434, allocations: 15.2 kB / 469.6 MB, free: 0.9688 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches