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.007687/0.007687, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.002029/0.002029, allocations: 197.9 kB / 16.67 MB, free: 5.965 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06477/0.06477, allocations: 14.17 MB / 284.1 MB, free: 6.996 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.001554/0.001554, allocations: 76.69 kB / 396 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.236, allocations: 50.15 MB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.006655/0.2427, allocations: 7.276 MB / 453.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005374/0.2481, allocations: 3.545 MB / 457 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009592/0.2491, allocations: 17.12 kB / 457 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.2502, allocations: 411.8 kB / 457.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003743/0.254, allocations: 1.583 MB / 459 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2552, allocations: 0.5704 MB / 459.5 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.2574, allocations: 1.842 MB / 461.4 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.2577, allocations: 127.7 kB / 461.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009965/0.2587, allocations: 0.635 MB / 462.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.2598, allocations: 0.6374 MB / 462.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.26, allocations: 61.12 kB / 462.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.2611, allocations: 430.2 kB / 463.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.2613, allocations: 164.5 kB / 463.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007919/0.2621, allocations: 0.5435 MB / 464 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.2642, allocations: 1.5 MB / 465.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2643, allocations: 0 / 465.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2643, allocations: 0 / 465.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.2643, allocations: 1.344 kB / 465.5 MB, free: 3.469 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005661/0.27, allocations: 1.743 MB / 467.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.27, allocations: 8.031 kB / 467.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.2702, allocations: 122.8 kB / 467.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/0.2708, allocations: 147.7 kB / 467.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.2723, allocations: 0.6766 MB / 468.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.2723, allocations: 58.06 kB / 468.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.005e-05/0.2724, allocations: 76 kB / 468.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.2736, allocations: 0.7615 MB / 469 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2736, allocations: 4 kB / 469 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.2737, allocations: 32.08 kB / 469.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.2737, allocations: 20 kB / 469.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.2749, allocations: 0.7026 MB / 469.8 MB, free: 15.25 MB / 350.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.00645/0.2814, allocations: 5.084 MB / 474.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.2831, allocations: 0.951 MB / 475.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.2836, allocations: 318.6 kB / 476.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.2837, allocations: 12.59 kB / 476.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.2837, allocations: 35.22 kB / 476.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.384e-06/0.2837, allocations: 0 / 476.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.003002/0.2867, allocations: 1.24 MB / 477.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.2868, allocations: 67.98 kB / 477.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.2876, allocations: 0.55 MB / 478 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.2876, allocations: 41.7 kB / 478.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.2879, allocations: 359.9 kB / 478.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.2882, allocations: 272 kB / 478.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.2884, allocations: 130.6 kB / 478.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2885, allocations: 378.8 kB / 479.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.2889, allocations: 217.9 kB / 479.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.2893, allocations: 328.3 kB / 479.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008634/0.2902, allocations: 0.5975 MB / 480.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2902, allocations: 4 kB / 480.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001515/0.2917, allocations: 0.8605 MB / 481.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2918, allocations: 8 kB / 481.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2918, allocations: 0 / 481.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000585/0.2924, allocations: 188.7 kB / 481.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.2932, allocations: 195.8 kB / 481.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.2964, allocations: 2.528 MB / 484.1 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.2972, allocations: 43.69 kB / 484.2 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.2973, allocations: 28.08 kB / 484.2 MB, free: 15.99 MB / 366.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.0003139/0.2976, allocations: 229.6 kB / 484.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.2978, allocations: 75.06 kB / 484.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2992, allocations: 0.8023 MB / 485.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.2992, allocations: 11.94 kB / 485.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2992, allocations: 4 kB / 485.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.2992, allocations: 7.984 kB / 485.3 MB, free: 14.85 MB / 366.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.002685/0.3019, allocations: 1.854 MB / 487.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3019, allocations: 3.984 kB / 487.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.3026, allocations: 159.8 kB / 487.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/0.3031, allocations: 168.7 kB / 487.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.3032, allocations: 15.98 kB / 487.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/0.3062, allocations: 2.522 MB / 490 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3062, allocations: 0 / 490 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3076, allocations: 0.8666 MB / 490.9 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.308, allocations: 228 kB / 491.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3081, allocations: 19.98 kB / 491.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/0.3087, allocations: 16 kB / 491.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3088, allocations: 52.53 kB / 491.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.3088, allocations: 16 kB / 491.2 MB, free: 8.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005117/0.3093, allocations: 394.8 kB / 491.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3093, allocations: 3.938 kB / 491.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009798/0.3103, allocations: 299.8 kB / 491.9 MB, free: 7.996 MB / 366.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.001919/0.3123, allocations: 1.48 MB / 493.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.3137, allocations: 0.815 MB / 494.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3137, allocations: 0 / 494.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007679/0.3145, allocations: 0.5293 MB / 494.7 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.3152, allocations: 110.3 kB / 494.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/0.3234, allocations: 5.802 MB / 0.4889 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.3239, allocations: 0.9464 MB / 0.4898 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.3243, allocations: 93.31 kB / 0.4899 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.3246, allocations: 271.3 kB / 0.4902 GB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.695e-06/0.3247, allocations: 0 / 0.4902 GB, free: 13.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04399/0.3687, allocations: 17.78 MB / 0.5075 GB, free: 11.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.88, allocations: 352 / 0.5075 GB, free: 11.93 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches