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.001395/0.001395, allocations: 108 kB / 15.6 MB, free: 132 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.001645/0.001646, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.502/1.502, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06369/0.06369, allocations: 14.17 MB / 283.9 MB, free: 7.07 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.002493/0.002493, allocations: 71.91 kB / 347.3 MB, free: 17.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1018, allocations: 50.11 MB / 397.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003728/0.1055, allocations: 2.108 MB / 399.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.1065, allocations: 467 kB / 400 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1067, allocations: 8 kB / 400 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.107, allocations: 99.38 kB / 400.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1073, allocations: 55.53 kB / 400.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.108, allocations: 266.5 kB / 400.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.1084, allocations: 242.8 kB / 400.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.1087, allocations: 140.8 kB / 400.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.1087, allocations: 79.59 kB / 400.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1089, allocations: 111.4 kB / 400.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.1089, allocations: 28 kB / 401 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.1091, allocations: 79.97 kB / 401 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.1092, allocations: 63.72 kB / 401.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1093, allocations: 131.2 kB / 401.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.1097, allocations: 370.9 kB / 401.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1097, allocations: 0 / 401.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1097, allocations: 0 / 401.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1098, allocations: 0 / 401.6 MB, free: 10.8 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001933/0.1117, allocations: 0.7369 MB / 402.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1117, allocations: 8.031 kB / 402.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.618e-05/0.1118, allocations: 70.72 kB / 402.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1119, allocations: 36.5 kB / 402.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1121, allocations: 215.7 kB / 402.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.1121, allocations: 20.94 kB / 402.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.1122, allocations: 24.38 kB / 402.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/0.1128, allocations: 329.4 kB / 403 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1128, allocations: 3.938 kB / 403 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.1128, allocations: 8 kB / 403 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1128, allocations: 8 kB / 403 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.1134, allocations: 334.1 kB / 403.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.115, allocations: 1.08 MB / 404.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.1154, allocations: 170.5 kB / 404.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1156, allocations: 108.8 kB / 404.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1156, allocations: 0 / 404.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1156, allocations: 42.55 kB / 404.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1157, allocations: 0 / 404.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006283/0.1163, allocations: 345.6 kB / 405.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1163, allocations: 55.41 kB / 405.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.1166, allocations: 287 kB / 405.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1167, allocations: 29.7 kB / 405.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1168, allocations: 168.2 kB / 405.6 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1168, allocations: 47.3 kB / 405.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.1169, allocations: 37.7 kB / 405.7 MB, free: 6.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1171, allocations: 330.8 kB / 406 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1172, allocations: 95.92 kB / 406.1 MB, free: 6.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1174, allocations: 117.7 kB / 406.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.1177, allocations: 209.6 kB / 406.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1177, allocations: 0 / 406.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004458/0.1182, allocations: 277.2 kB / 406.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1182, allocations: 4 kB / 406.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1182, allocations: 0 / 406.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1182, allocations: 3.938 kB / 406.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.1185, allocations: 35.92 kB / 406.8 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1185, allocations: 4 kB / 406.8 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.1186, allocations: 15.78 kB / 406.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.1187, allocations: 19.86 kB / 406.8 MB, free: 5.344 MB / 302.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.0001598/0.1188, allocations: 142.9 kB / 406.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.1189, allocations: 23.72 kB / 407 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.923e-05/0.119, allocations: 29.86 kB / 407 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.119, allocations: 7.938 kB / 407 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.119, allocations: 0 / 407 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.119, allocations: 0 / 407 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1201, allocations: 0.7654 MB / 407.8 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1201, allocations: 3.938 kB / 407.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1202, allocations: 27.98 kB / 407.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1203, allocations: 4 kB / 407.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.1203, allocations: 7.984 kB / 407.8 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1203, allocations: 4 kB / 407.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1203, allocations: 0 / 407.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.1209, allocations: 372.8 kB / 408.2 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.121, allocations: 108.8 kB / 408.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.1211, allocations: 4 kB / 408.3 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1212, allocations: 4 kB / 408.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1212, allocations: 8.031 kB / 408.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.1213, allocations: 11.98 kB / 408.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.1215, allocations: 210 kB / 408.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1215, allocations: 0 / 408.5 MB, free: 3.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.1219, allocations: 47.84 kB / 408.6 MB, free: 3.469 MB / 302.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.0008384/0.1227, allocations: 0.9202 MB / 409.5 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.1232, allocations: 223.9 kB / 409.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.1232, allocations: 0 / 409.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.1234, allocations: 111.9 kB / 409.8 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1237, allocations: 19.39 kB / 409.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.1274, allocations: 2.749 MB / 412.6 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1279, allocations: 0.7553 MB / 413.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000716/0.1286, allocations: 0.4931 MB / 413.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1288, allocations: 91.34 kB / 413.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1288, allocations: 0 / 413.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1509, allocations: 4.7 MB / 418.6 MB, free: 9.285 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.82, allocations: 11.91 kB / 418.6 MB, free: 9.273 MB / 318.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