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.001082/0.001082, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001115/0.001115, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.592/1.592, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06376/0.06376, allocations: 14.16 MB / 283.6 MB, free: 7.242 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.001411/0.001411, allocations: 75.83 kB / 344.7 MB, free: 19.61 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 50.13 MB / 394.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.008001/0.1261, allocations: 7.438 MB / 402.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006397/0.1326, allocations: 3.522 MB / 405.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009484/0.1336, allocations: 19.94 kB / 405.8 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.1349, allocations: 366.4 kB / 406.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003938/0.1388, allocations: 1.455 MB / 407.6 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1399, allocations: 0.5406 MB / 408.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002653/0.1425, allocations: 1.933 MB / 410.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.1428, allocations: 122.5 kB / 410.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007993/0.1436, allocations: 0.5522 MB / 410.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006452/0.1443, allocations: 0.5678 MB / 411.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.1444, allocations: 48 kB / 411.4 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1454, allocations: 411.7 kB / 411.8 MB, free: 428 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1455, allocations: 135.3 kB / 411.9 MB, free: 292 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005097/0.1461, allocations: 0.517 MB / 412.4 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.1477, allocations: 1.355 MB / 413.8 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1477, allocations: 0 / 413.8 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1477, allocations: 0 / 413.8 MB, free: 14.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1477, allocations: 0 / 413.8 MB, free: 14.4 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.004672/0.1524, allocations: 1.684 MB / 415.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1525, allocations: 12.03 kB / 415.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.1526, allocations: 118.8 kB / 415.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005737/0.1532, allocations: 147.7 kB / 415.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.1542, allocations: 0.653 MB / 416.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.1543, allocations: 62.12 kB / 416.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.1544, allocations: 72 kB / 416.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1555, allocations: 0.7654 MB / 417.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1556, allocations: 0 / 417.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.1556, allocations: 32 kB / 417.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.1557, allocations: 16 kB / 417.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1567, allocations: 0.7104 MB / 418 MB, free: 10 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.004657/0.1614, allocations: 4.681 MB / 422.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.163, allocations: 0.9551 MB / 423.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.1634, allocations: 307.8 kB / 424 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/0.1635, allocations: 20.58 kB / 424 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.1635, allocations: 39.22 kB / 424 MB, free: 3.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 4.048e-06/0.1636, allocations: 0 / 424 MB, free: 3.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002808/0.1664, allocations: 1.233 MB / 425.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1664, allocations: 71.98 kB / 425.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.167, allocations: 0.4945 MB / 425.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.167, allocations: 33.7 kB / 425.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.1673, allocations: 363.8 kB / 426.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.1675, allocations: 280 kB / 426.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.1677, allocations: 134.5 kB / 426.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1679, allocations: 370.8 kB / 427 MB, free: 416 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.1682, allocations: 217.9 kB / 427.2 MB, free: 200 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2076/0.3758, allocations: 329.2 kB / 427.5 MB, free: 37.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008922/0.3767, allocations: 0.5908 MB / 428.1 MB, free: 37.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3767, allocations: 0 / 428.1 MB, free: 37.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001637/0.3784, allocations: 0.8569 MB / 429 MB, free: 37.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3784, allocations: 6.281 kB / 429 MB, free: 37.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3784, allocations: 3.938 kB / 429 MB, free: 37.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/0.3791, allocations: 180.5 kB / 429.1 MB, free: 37.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/0.3799, allocations: 203.5 kB / 429.3 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.3828, allocations: 2.519 MB / 431.9 MB, free: 35.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.3835, allocations: 54.44 kB / 431.9 MB, free: 35.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.3835, allocations: 26.95 kB / 431.9 MB, free: 35.64 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.0003675/0.3839, allocations: 229.8 kB / 432.2 MB, free: 35.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.384, allocations: 78.69 kB / 432.2 MB, free: 35.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.3855, allocations: 0.7991 MB / 433 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3855, allocations: 8.188 kB / 433 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3855, allocations: 2.781 kB / 433.1 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3855, allocations: 9.484 kB / 433.1 MB, free: 35.04 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.002463/0.388, allocations: 1.74 MB / 434.8 MB, free: 34.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.388, allocations: 0 / 434.8 MB, free: 34.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/0.3887, allocations: 165.3 kB / 435 MB, free: 34.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005001/0.3892, allocations: 172.9 kB / 435.1 MB, free: 34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.3892, allocations: 11.64 kB / 435.1 MB, free: 34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/0.3919, allocations: 2.512 MB / 437.7 MB, free: 32.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3919, allocations: 4.594 kB / 437.7 MB, free: 32.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3933, allocations: 0.8568 MB / 438.5 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.3936, allocations: 209.4 kB / 438.7 MB, free: 31.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/0.3937, allocations: 12.67 kB / 438.7 MB, free: 31.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.3941, allocations: 29.88 kB / 438.8 MB, free: 31.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3942, allocations: 49.64 kB / 438.8 MB, free: 31.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.3942, allocations: 21.5 kB / 438.8 MB, free: 31.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000455/0.3947, allocations: 345.6 kB / 439.2 MB, free: 31.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3947, allocations: 0 / 439.2 MB, free: 31.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009268/0.3956, allocations: 275.9 kB / 439.4 MB, free: 31.2 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.001702/0.3973, allocations: 1.478 MB / 440.9 MB, free: 30.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.3992, allocations: 0.8446 MB / 441.8 MB, free: 29.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3992, allocations: 1.125 kB / 441.8 MB, free: 29.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007926/0.4, allocations: 0.524 MB / 442.3 MB, free: 29.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.4007, allocations: 93.92 kB / 442.4 MB, free: 29.48 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.008299/0.409, allocations: 6.047 MB / 448.4 MB, free: 25.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.4096, allocations: 0.9399 MB / 449.4 MB, free: 25.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.4101, allocations: 92.16 kB / 449.5 MB, free: 25.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.4104, allocations: 266.5 kB / 449.7 MB, free: 24.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4104, allocations: 1 kB / 449.7 MB, free: 24.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.4388, allocations: 15.01 MB / 464.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.439, allocations: 228.2 kB / 464.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.457, allocations: 0 / 464.9 MB, free: 12.77 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