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.001423/0.001423, 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.002333/0.002333, allocations: 197.3 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.699/1.699, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05858/0.05858, allocations: 14.15 MB / 283.6 MB, free: 7.25 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.001602/0.001602, allocations: 71.84 kB / 344.7 MB, free: 19.61 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1031, allocations: 50.12 MB / 394.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.0082/0.1114, allocations: 7.318 MB / 402.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005551/0.117, allocations: 3.522 MB / 405.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.1178, allocations: 15.94 kB / 405.7 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.119, allocations: 354.5 kB / 406 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.1225, allocations: 1.436 MB / 407.4 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.1235, allocations: 0.5525 MB / 408 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.1256, allocations: 1.915 MB / 409.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.1259, allocations: 126.5 kB / 410 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.1265, allocations: 0.5366 MB / 410.6 MB, free: 1.625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.1271, allocations: 0.5484 MB / 411.1 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.96e-05/0.1271, allocations: 44 kB / 411.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000829/0.128, allocations: 415.7 kB / 411.6 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.1281, allocations: 143.2 kB / 411.7 MB, free: 496 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.1285, allocations: 0.5092 MB / 412.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.1298, allocations: 1.336 MB / 413.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1299, allocations: 0 / 413.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1299, allocations: 4 kB / 413.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1299, allocations: 0 / 413.5 MB, free: 14.63 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004449/0.1343, allocations: 1.622 MB / 415.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.1344, allocations: 12.03 kB / 415.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.1346, allocations: 126.6 kB / 415.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005882/0.1352, allocations: 143.7 kB / 415.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1362, allocations: 0.6375 MB / 416.1 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.1363, allocations: 62.12 kB / 416.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.1364, allocations: 64 kB / 416.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.1375, allocations: 0.7593 MB / 417 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1375, allocations: 3.938 kB / 417 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.1376, allocations: 28 kB / 417 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.1376, allocations: 20 kB / 417 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000974/0.1386, allocations: 0.6675 MB / 417.7 MB, free: 10.35 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.0043/0.1429, allocations: 4.804 MB / 422.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.1444, allocations: 0.9474 MB / 423.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.1448, allocations: 299.1 kB / 423.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.508e-05/0.1449, allocations: 8.656 kB / 423.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1449, allocations: 51.16 kB / 423.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.765e-06/0.1449, allocations: 0 / 423.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004315/0.1492, allocations: 1.553 MB / 425.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.1493, allocations: 60.06 kB / 425.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/0.1499, allocations: 0.499 MB / 425.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.1499, allocations: 41.7 kB / 425.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.1502, allocations: 363.8 kB / 426.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.1504, allocations: 260.2 kB / 426.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.1506, allocations: 134.5 kB / 426.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1507, allocations: 374.8 kB / 427 MB, free: 332 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1511, allocations: 205.9 kB / 427.2 MB, free: 128 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1549/0.306, allocations: 328.5 kB / 427.6 MB, free: 37.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.3068, allocations: 0.5844 MB / 428.2 MB, free: 37.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3069, allocations: 1.375 kB / 428.2 MB, free: 37.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001868/0.3087, allocations: 0.9427 MB / 429.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3088, allocations: 6.516 kB / 429.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.3088, allocations: 3.25 kB / 429.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.31, allocations: 324.3 kB / 429.4 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.3106, allocations: 163.2 kB / 429.6 MB, free: 37.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/0.3149, allocations: 3.333 MB / 432.9 MB, free: 35.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.3155, allocations: 55.92 kB / 433 MB, free: 35.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.3156, allocations: 27.12 kB / 433 MB, free: 35.45 MB / 318.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.0002764/0.3158, allocations: 227.1 kB / 433.2 MB, free: 35.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.316, allocations: 77.12 kB / 433.3 MB, free: 35.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.3177, allocations: 0.8873 MB / 434.2 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3177, allocations: 6.969 kB / 434.2 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3177, allocations: 1.375 kB / 434.2 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.3177, allocations: 3.938 kB / 434.2 MB, free: 34.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.3202, allocations: 1.8 MB / 436 MB, free: 33.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3202, allocations: 3.875 kB / 436 MB, free: 33.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.3207, allocations: 129.5 kB / 436.1 MB, free: 33.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000983/0.3217, allocations: 307 kB / 436.4 MB, free: 33.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.3218, allocations: 14.78 kB / 436.4 MB, free: 33.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.3258, allocations: 3.25 MB / 439.7 MB, free: 31.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3258, allocations: 10.41 kB / 439.7 MB, free: 31.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.3276, allocations: 0.9328 MB / 440.6 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.3278, allocations: 202 kB / 440.8 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.3279, allocations: 10.66 kB / 440.8 MB, free: 30.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.3283, allocations: 33.06 kB / 440.9 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3285, allocations: 52.67 kB / 440.9 MB, free: 30.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.3285, allocations: 16.88 kB / 440.9 MB, free: 30.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004433/0.3289, allocations: 346.8 kB / 441.3 MB, free: 30.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.329, allocations: 0 / 441.3 MB, free: 30.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001021/0.33, allocations: 302.1 kB / 441.6 MB, free: 30.55 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 (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.002017/0.332, allocations: 1.55 MB / 443.1 MB, free: 29.53 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 initialization part: time 0.001946/0.334, allocations: 0.9333 MB / 444.1 MB, free: 29.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.334, allocations: 128 / 444.1 MB, free: 29.1 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 simulation system equations: time 0.0009333/0.3349, allocations: 0.6013 MB / 444.7 MB, free: 28.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.3355, allocations: 86.56 kB / 444.7 MB, free: 28.75 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.009189/0.3447, allocations: 6.228 MB / 451 MB, free: 25.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.3452, allocations: 0.9352 MB / 451.9 MB, free: 24.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004124/0.3456, allocations: 80.88 kB / 452 MB, free: 24.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.3459, allocations: 256.9 kB / 452.2 MB, free: 24.12 MB / 318.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3459, allocations: 0 / 452.2 MB, free: 24.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.3779, allocations: 17.49 MB / 469.7 MB, free: 8.246 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.3781, allocations: 245.9 kB / 470 MB, free: 7.988 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.617, allocations: 7.219 kB / 470 MB, free: 7.984 MB / 318.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","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches