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.001071/0.001071, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008214/0.008214, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.218/1.218, allocations: 205.4 MB / 222.5 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05666/0.05666, allocations: 14.16 MB / 284.9 MB, free: 7.273 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.0004455/0.0004456, allocations: 12.22 kB / 346.9 MB, free: 19.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06935/0.0698, allocations: 51.11 MB / 398 MB, free: 348 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.005713/0.07555, allocations: 6.964 MB / 404.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.07981, allocations: 3.48 MB / 408.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.08011, allocations: 15.94 kB / 408.4 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.08079, allocations: 358.5 kB / 408.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.08347, allocations: 1.473 MB / 410.3 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.08434, allocations: 0.5217 MB / 410.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.08609, allocations: 1.855 MB / 412.6 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.08629, allocations: 118.5 kB / 412.7 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.08677, allocations: 485.4 kB / 413.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.08728, allocations: 0.5287 MB / 413.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.08734, allocations: 28 kB / 413.8 MB, free: 480 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.08796, allocations: 375.7 kB / 414.1 MB, free: 104 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.08806, allocations: 115.2 kB / 414.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003844/0.08845, allocations: 0.4952 MB / 414.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.08959, allocations: 1.308 MB / 416.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.0896, allocations: 0 / 416.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08961, allocations: 4 kB / 416.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.08962, allocations: 0 / 416.1 MB, free: 14.17 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.004029/0.09365, allocations: 1.509 MB / 417.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.0937, allocations: 8.031 kB / 417.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.09384, allocations: 122.8 kB / 417.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.09435, allocations: 151.7 kB / 417.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009028/0.09527, allocations: 0.653 MB / 418.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.09532, allocations: 62.11 kB / 418.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.09541, allocations: 72 kB / 418.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.09646, allocations: 0.7503 MB / 419.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.09648, allocations: 4 kB / 419.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/0.09655, allocations: 32 kB / 419.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.09657, allocations: 16 kB / 419.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.09763, allocations: 0.73 MB / 420.2 MB, free: 9.945 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.00393/0.1016, allocations: 4.409 MB / 424.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.1033, allocations: 1.171 MB / 425.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.1037, allocations: 319.7 kB / 426.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.1038, allocations: 16.62 kB / 426.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1038, allocations: 47.16 kB / 426.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 1.964e-06/0.1038, allocations: 3.938 kB / 426.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.002595/0.1064, allocations: 1.264 MB / 427.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1064, allocations: 64.06 kB / 427.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.1069, allocations: 494.3 kB / 427.9 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.107, allocations: 37.7 kB / 428 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.1072, allocations: 348.1 kB / 428.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.1074, allocations: 283.8 kB / 428.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.1075, allocations: 65.67 kB / 428.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1076, allocations: 374.8 kB / 429 MB, free: 424 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.1079, allocations: 221.9 kB / 429.2 MB, free: 200 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1353/0.2433, allocations: 313 kB / 429.5 MB, free: 25.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/0.2442, allocations: 0.5808 MB / 430.1 MB, free: 25.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2443, allocations: 1 kB / 430.1 MB, free: 25.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001448/0.2457, allocations: 0.8532 MB / 431 MB, free: 25.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2457, allocations: 6.391 kB / 431 MB, free: 25.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2458, allocations: 5.312 kB / 431 MB, free: 25.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.2463, allocations: 178.5 kB / 431.2 MB, free: 25.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.247, allocations: 200.1 kB / 431.4 MB, free: 25.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.2495, allocations: 2.32 MB / 433.7 MB, free: 24.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.25, allocations: 60.27 kB / 433.7 MB, free: 24.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.2501, allocations: 22.19 kB / 433.8 MB, free: 24.26 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.0002676/0.2504, allocations: 229.8 kB / 434 MB, free: 24.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2505, allocations: 75.86 kB / 434.1 MB, free: 24.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2519, allocations: 0.8338 MB / 434.9 MB, free: 24.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2519, allocations: 11.41 kB / 434.9 MB, free: 24.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2519, allocations: 2.75 kB / 434.9 MB, free: 24.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.2519, allocations: 3.984 kB / 434.9 MB, free: 24.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.2542, allocations: 1.89 MB / 436.8 MB, free: 23.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2542, allocations: 0 / 436.8 MB, free: 23.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/0.2548, allocations: 169.2 kB / 437 MB, free: 23.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/0.2553, allocations: 173.1 kB / 437.1 MB, free: 23.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.2553, allocations: 16.09 kB / 437.1 MB, free: 23.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.2575, allocations: 2.329 MB / 439.5 MB, free: 22.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2575, allocations: 0.75 kB / 439.5 MB, free: 22.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2588, allocations: 0.887 MB / 440.4 MB, free: 21.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.259, allocations: 203.7 kB / 440.6 MB, free: 21.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.2591, allocations: 15.12 kB / 440.6 MB, free: 21.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.2595, allocations: 42 kB / 440.6 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.2596, allocations: 51.94 kB / 440.7 MB, free: 21.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.2596, allocations: 18.06 kB / 440.7 MB, free: 21.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003313/0.26, allocations: 336.9 kB / 441 MB, free: 21.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.26, allocations: 2.062 kB / 441 MB, free: 21.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006321/0.2606, allocations: 283 kB / 441.3 MB, free: 21.43 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.001443/0.2621, allocations: 1.496 MB / 442.8 MB, free: 20.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.2632, allocations: 0.8197 MB / 443.6 MB, free: 20.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2633, allocations: 1.438 kB / 443.6 MB, free: 20.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.2639, allocations: 0.5442 MB / 444.2 MB, free: 19.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.2645, allocations: 85.45 kB / 444.2 MB, free: 19.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.006748/0.2712, allocations: 6.037 MB / 450.3 MB, free: 16.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2716, allocations: 0.9386 MB / 451.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003971/0.272, allocations: 90.36 kB / 451.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.2723, allocations: 266.7 kB / 451.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2723, allocations: 0 / 451.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.296, allocations: 14.41 MB / 466 MB, free: 5.367 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/0.2962, allocations: 236.3 kB / 466.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.068, allocations: 7.75 kB / 466.2 MB, free: 5.105 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