Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001157/0.001157, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.119/1.119, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05617/0.05617, allocations: 14.16 MB / 283.5 MB, free: 7.539 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.001269/0.00127, allocations: 67.91 kB / 344.5 MB, free: 19.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06571/0.06699, allocations: 50.13 MB / 394.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.006405/0.07343, allocations: 7.438 MB / 402.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00418/0.07762, allocations: 3.534 MB / 405.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.0779, allocations: 19.94 kB / 405.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.07864, allocations: 370.4 kB / 406 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.08126, allocations: 1.478 MB / 407.5 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008753/0.08214, allocations: 0.5568 MB / 408 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.08381, allocations: 1.855 MB / 409.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.084, allocations: 114.5 kB / 410 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.08445, allocations: 485.5 kB / 410.5 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.08492, allocations: 0.5249 MB / 411 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.08499, allocations: 28 kB / 411 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.08562, allocations: 371.7 kB / 411.4 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.08571, allocations: 115.2 kB / 411.5 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.08609, allocations: 485.4 kB / 412 MB, free: 208 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.08723, allocations: 1.316 MB / 413.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.08724, allocations: 4 kB / 413.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.08725, allocations: 0 / 413.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.08726, allocations: 0 / 413.3 MB, free: 14.88 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00416/0.09143, allocations: 1.672 MB / 414.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.09147, allocations: 12.03 kB / 415 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.09159, allocations: 126.8 kB / 415.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/0.09211, allocations: 147.7 kB / 415.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008901/0.09301, allocations: 0.6452 MB / 415.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.09305, allocations: 58.12 kB / 415.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.09314, allocations: 72 kB / 416 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.09418, allocations: 0.7732 MB / 416.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.0942, allocations: 0 / 416.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.09426, allocations: 32 kB / 416.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.09428, allocations: 20 kB / 416.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.0953, allocations: 0.6987 MB / 417.5 MB, free: 10.49 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.0993, allocations: 4.697 MB / 422.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1008, allocations: 0.9512 MB / 423.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.1012, allocations: 319.7 kB / 423.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.1012, allocations: 8.656 kB / 423.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1012, allocations: 39.22 kB / 423.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 1.693e-06/0.1013, allocations: 0 / 423.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002579/0.1038, allocations: 1.244 MB / 424.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1039, allocations: 60.06 kB / 424.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.1044, allocations: 0.4906 MB / 425.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.1044, allocations: 45.69 kB / 425.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.1046, allocations: 363.8 kB / 425.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.1048, allocations: 268 kB / 426 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.105, allocations: 134.5 kB / 426.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1051, allocations: 374.8 kB / 426.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.1055, allocations: 221.9 kB / 426.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.1058, allocations: 328.3 kB / 427 MB, free: 320 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.111/0.2168, allocations: 0.5885 MB / 427.6 MB, free: 37.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2168, allocations: 1.281 kB / 427.6 MB, free: 37.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001337/0.2182, allocations: 0.8608 MB / 428.5 MB, free: 37.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2182, allocations: 5.5 kB / 428.5 MB, free: 37.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2182, allocations: 2.75 kB / 428.5 MB, free: 37.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/0.2188, allocations: 175.8 kB / 428.6 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/0.2195, allocations: 201 kB / 428.8 MB, free: 37.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.2218, allocations: 2.332 MB / 431.2 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.2223, allocations: 53.09 kB / 431.2 MB, free: 35.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.2223, allocations: 28.36 kB / 431.3 MB, free: 35.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.2226, allocations: 228.5 kB / 431.5 MB, free: 35.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/0.2227, allocations: 76.34 kB / 431.6 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.2239, allocations: 0.8027 MB / 432.4 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2239, allocations: 8 kB / 432.4 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2239, allocations: 7.219 kB / 432.4 MB, free: 35.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.2239, allocations: 7.875 kB / 432.4 MB, free: 35.39 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.2259, allocations: 1.727 MB / 434.1 MB, free: 34.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2259, allocations: 0.875 kB / 434.1 MB, free: 34.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.2266, allocations: 162.1 kB / 434.3 MB, free: 34.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.227, allocations: 176 kB / 434.4 MB, free: 34.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.2271, allocations: 11.22 kB / 434.4 MB, free: 34.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.2292, allocations: 2.327 MB / 436.8 MB, free: 32.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2292, allocations: 3.875 kB / 436.8 MB, free: 32.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2303, allocations: 0.8643 MB / 437.6 MB, free: 32.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.2305, allocations: 198.9 kB / 437.8 MB, free: 31.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/0.2306, allocations: 15.89 kB / 437.9 MB, free: 31.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.231, allocations: 28.59 kB / 437.9 MB, free: 31.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.231, allocations: 58.02 kB / 437.9 MB, free: 31.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.2311, allocations: 16.91 kB / 438 MB, free: 31.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.2314, allocations: 349.8 kB / 438.3 MB, free: 31.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2314, allocations: 0 / 438.3 MB, free: 31.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000633/0.232, allocations: 279.6 kB / 438.6 MB, free: 31.69 MB / 318.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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.2334, allocations: 1.465 MB / 440 MB, free: 30.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2346, allocations: 0.8229 MB / 440.9 MB, free: 30.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2346, allocations: 0 / 440.9 MB, free: 30.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.2353, allocations: 0.5273 MB / 441.4 MB, free: 30.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.2358, allocations: 88.61 kB / 441.5 MB, free: 30 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/0.2425, allocations: 6.031 MB / 447.5 MB, free: 26.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2428, allocations: 0.9374 MB / 448.4 MB, free: 25.67 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.2432, allocations: 92.69 kB / 448.5 MB, free: 25.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.2435, allocations: 266.9 kB / 448.8 MB, free: 25.44 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2435, allocations: 0 / 448.8 MB, free: 25.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.2652, allocations: 14.57 MB / 463.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.2653, allocations: 235.8 kB / 463.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.045, allocations: 0 / 463.6 MB, free: 14.21 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches