Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.009709/0.009709, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.002283/0.002284, allocations: 201.5 kB / 16.68 MB, free: 5.93 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.53/1.53, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06857/0.06857, allocations: 14.18 MB / 284.1 MB, free: 6.988 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.002138/0.002138, allocations: 68.12 kB / 396 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2657, allocations: 50.15 MB / 446.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.007749/0.2735, allocations: 7.161 MB / 453.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006476/0.2801, allocations: 3.528 MB / 456.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008675/0.281, allocations: 15.88 kB / 456.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.2823, allocations: 413.9 kB / 457.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.2862, allocations: 1.554 MB / 458.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2873, allocations: 0.5729 MB / 459.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.2901, allocations: 1.826 MB / 461.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.2904, allocations: 132.4 kB / 461.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.2915, allocations: 0.5995 MB / 461.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000883/0.2924, allocations: 0.6331 MB / 462.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.2925, allocations: 62.16 kB / 462.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.2936, allocations: 425.2 kB / 463 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.2937, allocations: 159.5 kB / 463.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.2943, allocations: 0.532 MB / 463.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.2965, allocations: 1.494 MB / 465.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2965, allocations: 4 kB / 465.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2965, allocations: 3.938 kB / 465.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2965, allocations: 0 / 465.2 MB, free: 3.637 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005471/0.302, allocations: 1.72 MB / 467 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3021, allocations: 8.031 kB / 467 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.3022, allocations: 114.7 kB / 467.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006431/0.3029, allocations: 152.3 kB / 467.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.3043, allocations: 0.6772 MB / 467.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.134e-05/0.3043, allocations: 58.12 kB / 468 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3044, allocations: 76 kB / 468 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.3057, allocations: 0.7514 MB / 468.8 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.3057, allocations: 7.938 kB / 468.8 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.3058, allocations: 24 kB / 468.8 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3058, allocations: 20 kB / 468.8 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.307, allocations: 0.6753 MB / 469.5 MB, free: 15.55 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.007306/0.3143, allocations: 5.231 MB / 474.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.3161, allocations: 0.9421 MB / 475.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.3166, allocations: 286.8 kB / 476 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.074e-05/0.3166, allocations: 8.656 kB / 476 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.3167, allocations: 39.22 kB / 476 MB, free: 8.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.857e-06/0.3167, allocations: 0 / 476 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.004982/0.3217, allocations: 1.57 MB / 477.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3218, allocations: 60.06 kB / 477.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008108/0.3226, allocations: 0.5537 MB / 478.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.3226, allocations: 41.64 kB / 478.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.323, allocations: 368.6 kB / 478.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.3233, allocations: 285.5 kB / 478.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.3235, allocations: 126.6 kB / 479 MB, free: 5.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.3237, allocations: 378.8 kB / 479.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.3241, allocations: 205.9 kB / 479.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.3245, allocations: 330.1 kB / 479.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009455/0.3255, allocations: 0.5875 MB / 480.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.567e-06/0.3255, allocations: 4 kB / 480.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001999/0.3275, allocations: 0.9509 MB / 481.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3276, allocations: 4 kB / 481.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3276, allocations: 4 kB / 481.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.3287, allocations: 315.5 kB / 481.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.3294, allocations: 163.8 kB / 481.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.335, allocations: 3.382 MB / 485.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009532/0.336, allocations: 51.72 kB / 485.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.3361, allocations: 24 kB / 485.4 MB, free: 14.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0004007/0.3365, allocations: 229.6 kB / 485.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3367, allocations: 79.53 kB / 485.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.3385, allocations: 0.8763 MB / 486.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.3386, allocations: 15.88 kB / 486.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3386, allocations: 0 / 486.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3386, allocations: 3.984 kB / 486.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.3418, allocations: 1.917 MB / 488.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3419, allocations: 0 / 488.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.3424, allocations: 131.8 kB / 488.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.3435, allocations: 300.6 kB / 488.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.3436, allocations: 15.92 kB / 488.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/0.3488, allocations: 3.288 MB / 492.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3488, allocations: 4.125 kB / 492.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.3508, allocations: 0.9409 MB / 493.1 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.3513, allocations: 228.5 kB / 493.4 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-05/0.3514, allocations: 19.92 kB / 493.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/0.3519, allocations: 24 kB / 493.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3521, allocations: 52.58 kB / 493.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.3521, allocations: 20 kB / 493.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005451/0.3527, allocations: 386.8 kB / 493.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3527, allocations: 3.938 kB / 493.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009875/0.3537, allocations: 331.8 kB / 494.2 MB, free: 5.684 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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/0.356, allocations: 1.555 MB / 495.7 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.3581, allocations: 0.8998 MB / 496.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3581, allocations: 3.938 kB / 496.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3593, allocations: 0.6102 MB / 497.3 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3605, allocations: 102.3 kB / 497.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.3715, allocations: 6.027 MB / 0.4916 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.3723, allocations: 0.9389 MB / 0.4925 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.3727, allocations: 85.31 kB / 0.4926 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.3731, allocations: 259.3 kB / 0.4928 GB, free: 10.96 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3732, allocations: 0 / 0.4928 GB, free: 10.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05427/0.4274, allocations: 19.87 MB / 0.5122 GB, free: 7.074 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.49, allocations: 11.86 kB / 0.5122 GB, free: 7.062 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches