Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",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.008169/0.008169, allocations: 104.1 kB / 15.73 MB, free: 6.035 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.001645/0.001645, allocations: 194 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.353/1.353, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06382/0.06382, allocations: 14.17 MB / 284.1 MB, free: 7.012 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.001443/0.001443, allocations: 71.91 kB / 396 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 50.14 MB / 446.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.0066/0.2489, allocations: 7.299 MB / 453.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.2539, allocations: 3.534 MB / 457 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006135/0.2546, allocations: 18.28 kB / 457 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009946/0.2556, allocations: 415.2 kB / 457.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.2595, allocations: 1.574 MB / 459 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.2606, allocations: 0.5636 MB / 459.5 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.263, allocations: 1.853 MB / 461.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.2633, allocations: 131.7 kB / 461.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/0.2643, allocations: 0.6314 MB / 462.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.2651, allocations: 0.6458 MB / 462.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.2652, allocations: 65 kB / 462.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.2663, allocations: 436.2 kB / 463.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2664, allocations: 160.1 kB / 463.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005671/0.267, allocations: 0.5442 MB / 464 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.2691, allocations: 1.517 MB / 465.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2691, allocations: 0 / 465.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2691, allocations: 1.25 kB / 465.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.2691, allocations: 4 kB / 465.5 MB, free: 3.449 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.005506/0.2746, allocations: 1.737 MB / 467.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.2747, allocations: 8.031 kB / 467.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.2748, allocations: 118.8 kB / 467.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.2755, allocations: 151.7 kB / 467.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.2769, allocations: 0.6804 MB / 468.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.2769, allocations: 58.12 kB / 468.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.277, allocations: 79.98 kB / 468.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.2781, allocations: 0.7503 MB / 469.1 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2781, allocations: 0 / 469.1 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.2782, allocations: 32.05 kB / 469.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.2782, allocations: 16 kB / 469.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2793, allocations: 0.7339 MB / 469.8 MB, free: 15.24 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.005767/0.2851, allocations: 4.804 MB / 474.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.2869, allocations: 1.17 MB / 475.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.2874, allocations: 322.7 kB / 476.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.2875, allocations: 12.66 kB / 476.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2875, allocations: 43.22 kB / 476.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.2875, allocations: 4 kB / 476.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=82): time 0.002944/0.2905, allocations: 1.272 MB / 477.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.2905, allocations: 60.06 kB / 477.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.2912, allocations: 0.5344 MB / 478.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.2912, allocations: 41.7 kB / 478.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.2915, allocations: 344.1 kB / 478.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.2917, allocations: 283.8 kB / 478.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.2919, allocations: 138.4 kB / 478.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2921, allocations: 382.8 kB / 479.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.2924, allocations: 225.9 kB / 479.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.2928, allocations: 308.9 kB / 479.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.2937, allocations: 0.5786 MB / 480.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2937, allocations: 0 / 480.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001469/0.2951, allocations: 0.8565 MB / 481.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2952, allocations: 8 kB / 481.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2952, allocations: 0 / 481.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.2958, allocations: 180.8 kB / 481.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.2966, allocations: 195.8 kB / 481.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.2996, allocations: 2.531 MB / 484.1 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/0.3004, allocations: 51.53 kB / 484.1 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.3004, allocations: 24 kB / 484.2 MB, free: 36 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003386/0.3008, allocations: 225.7 kB / 484.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.301, allocations: 71.16 kB / 484.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3024, allocations: 0.8299 MB / 485.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.3024, allocations: 8 kB / 485.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3025, allocations: 4 kB / 485.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3025, allocations: 7.922 kB / 485.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.3052, allocations: 2.013 MB / 487.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3052, allocations: 4 kB / 487.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/0.3059, allocations: 163.8 kB / 487.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/0.3064, allocations: 172.7 kB / 487.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.3065, allocations: 16.09 kB / 487.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.3095, allocations: 2.528 MB / 490.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3095, allocations: 0 / 490.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.311, allocations: 0.8861 MB / 491.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/0.3114, allocations: 232 kB / 491.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-05/0.3115, allocations: 16 kB / 491.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.3121, allocations: 16 kB / 491.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3122, allocations: 60.52 kB / 491.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.3123, allocations: 16 kB / 491.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004855/0.3128, allocations: 382.8 kB / 491.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3128, allocations: 0 / 491.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008608/0.3136, allocations: 307.7 kB / 492.1 MB, free: 7.797 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 (67): * Single equations (assignments): 66 * 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.001766/0.3154, allocations: 1.496 MB / 493.6 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.3169, allocations: 0.8265 MB / 494.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.317, allocations: 0 / 494.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008088/0.3178, allocations: 0.5527 MB / 495 MB, free: 4.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.3186, allocations: 125.4 kB / 495.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00795/0.3265, allocations: 5.78 MB / 0.4891 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.327, allocations: 0.9464 MB / 0.49 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.3274, allocations: 89.31 kB / 0.4901 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.3278, allocations: 275.3 kB / 0.4904 GB, free: 13.52 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3278, allocations: 0 / 0.4904 GB, free: 13.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04553/0.3734, allocations: 18 MB / 0.508 GB, free: 11.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.85, allocations: 4.688 kB / 0.508 GB, free: 11.5 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches