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.001433/0.001433, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001637/0.001637, allocations: 189.9 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.646/1.646, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05965/0.05965, allocations: 14.15 MB / 283.6 MB, free: 7.258 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.001398/0.001398, allocations: 72.47 kB / 344.7 MB, free: 19.63 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1028, allocations: 50.13 MB / 394.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.007454/0.1103, allocations: 7.438 MB / 402.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005756/0.1161, allocations: 3.526 MB / 405.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/0.1167, allocations: 19.94 kB / 405.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.1177, allocations: 362.4 kB / 406.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.1208, allocations: 1.462 MB / 407.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009542/0.1218, allocations: 0.5444 MB / 408.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.1241, allocations: 1.926 MB / 410.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.1244, allocations: 130.5 kB / 410.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008854/0.1253, allocations: 0.5522 MB / 410.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.1258, allocations: 0.5679 MB / 411.3 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.398e-05/0.1259, allocations: 56 kB / 411.4 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009832/0.1269, allocations: 415.7 kB / 411.8 MB, free: 428 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.916e-05/0.127, allocations: 135.2 kB / 411.9 MB, free: 292 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.1276, allocations: 0.5286 MB / 412.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.1292, allocations: 1.359 MB / 413.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1293, allocations: 0 / 413.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1293, allocations: 4 kB / 413.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1293, allocations: 0 / 413.8 MB, free: 14.38 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.004807/0.1341, allocations: 1.684 MB / 415.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1342, allocations: 8.031 kB / 415.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.1343, allocations: 122.8 kB / 415.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.1349, allocations: 147.7 kB / 415.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.136, allocations: 0.6491 MB / 416.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.1361, allocations: 58.12 kB / 416.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.1362, allocations: 72 kB / 416.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.1374, allocations: 0.7542 MB / 417.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1374, allocations: 0 / 417.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.08e-05/0.1375, allocations: 32 kB / 417.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1375, allocations: 16 kB / 417.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.1385, allocations: 0.7417 MB / 418.1 MB, free: 9.984 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.005184/0.1437, allocations: 4.409 MB / 422.5 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.1458, allocations: 1.171 MB / 423.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.1462, allocations: 319.7 kB / 424 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-05/0.1463, allocations: 12.66 kB / 424 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1463, allocations: 43.16 kB / 424 MB, free: 3.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.1463, allocations: 0 / 424 MB, free: 3.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.00277/0.1491, allocations: 1.252 MB / 425.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1492, allocations: 68 kB / 425.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.1497, allocations: 498.3 kB / 425.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.1498, allocations: 41.7 kB / 425.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.15, allocations: 348.1 kB / 426.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.1503, allocations: 279.8 kB / 426.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1504, allocations: 130.6 kB / 426.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1506, allocations: 374.8 kB / 427 MB, free: 412 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.1509, allocations: 229.9 kB / 427.2 MB, free: 184 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1829/0.3338, allocations: 306.9 kB / 427.5 MB, free: 37.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000944/0.3348, allocations: 0.5763 MB / 428.1 MB, free: 37.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3348, allocations: 1.453 kB / 428.1 MB, free: 37.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001576/0.3364, allocations: 0.8603 MB / 428.9 MB, free: 37.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3364, allocations: 8.781 kB / 429 MB, free: 37.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3365, allocations: 2.25 kB / 429 MB, free: 37.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/0.3371, allocations: 181.1 kB / 429.1 MB, free: 37.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/0.3379, allocations: 196 kB / 429.3 MB, free: 37.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.3408, allocations: 2.52 MB / 431.8 MB, free: 35.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.3414, allocations: 55.22 kB / 431.9 MB, free: 35.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.3414, allocations: 23.52 kB / 431.9 MB, free: 35.91 MB / 318.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.0002708/0.3417, allocations: 235.2 kB / 432.2 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3418, allocations: 77.45 kB / 432.2 MB, free: 35.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.3433, allocations: 0.8318 MB / 433.1 MB, free: 35.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3434, allocations: 13.17 kB / 433.1 MB, free: 35.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3434, allocations: 3.188 kB / 433.1 MB, free: 35.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3434, allocations: 10.22 kB / 433.1 MB, free: 35.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.3458, allocations: 1.891 MB / 435 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3458, allocations: 0 / 435 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/0.3465, allocations: 164.6 kB / 435.1 MB, free: 34.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.347, allocations: 174.8 kB / 435.3 MB, free: 34.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.3471, allocations: 15.42 kB / 435.3 MB, free: 34.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.3496, allocations: 2.51 MB / 437.8 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3496, allocations: 0 / 437.8 MB, free: 32.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.351, allocations: 0.8893 MB / 438.7 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3512, allocations: 207.1 kB / 438.9 MB, free: 31.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.3513, allocations: 17.23 kB / 438.9 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.3517, allocations: 35.64 kB / 439 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.3518, allocations: 53.02 kB / 439 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.3519, allocations: 19.44 kB / 439 MB, free: 31.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.3523, allocations: 341.1 kB / 439.4 MB, free: 31.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3523, allocations: 3.938 kB / 439.4 MB, free: 31.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008899/0.3532, allocations: 276.9 kB / 439.7 MB, free: 31.29 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 (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.001714/0.3549, allocations: 1.495 MB / 441.2 MB, free: 30.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.3568, allocations: 0.8545 MB / 442 MB, free: 29.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3569, allocations: 0 / 442 MB, free: 29.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.3576, allocations: 0.5442 MB / 442.5 MB, free: 29.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.3583, allocations: 87.44 kB / 442.6 MB, free: 29.56 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.008894/0.3673, allocations: 6.027 MB / 448.7 MB, free: 25.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.3678, allocations: 0.9427 MB / 449.6 MB, free: 25.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004743/0.3683, allocations: 90.84 kB / 449.7 MB, free: 25.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.3686, allocations: 264.8 kB / 450 MB, free: 25.03 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3686, allocations: 0 / 450 MB, free: 25.03 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.3948, allocations: 15.11 MB / 465.1 MB, free: 12.97 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/0.3949, allocations: 237.2 kB / 465.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.377, allocations: 0 / 465.3 MB, free: 12.71 MB / 318.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","../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches