Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.005241/0.005241, allocations: 106.5 kB / 15.74 MB, free: 5.578 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.001169/0.001169, allocations: 189.9 kB / 16.67 MB, free: 5.516 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.332/1.332, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07948/0.07948, allocations: 14.17 MB / 284.1 MB, free: 13.87 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.002288/0.002288, allocations: 74.81 kB / 396 MB, free: 44.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.09054, allocations: 50.13 MB / 446.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.007422/0.098, allocations: 7.298 MB / 453.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.1031, allocations: 3.534 MB / 457 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/0.1037, allocations: 19.94 kB / 457 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009729/0.1047, allocations: 417.6 kB / 457.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003443/0.1082, allocations: 1.63 MB / 459 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1093, allocations: 0.5681 MB / 459.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.1114, allocations: 1.844 MB / 461.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1117, allocations: 125 kB / 461.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.1123, allocations: 0.6342 MB / 462.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.113, allocations: 0.6419 MB / 462.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.113, allocations: 64 kB / 462.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.1139, allocations: 423.7 kB / 463.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.114, allocations: 159.2 kB / 463.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.1145, allocations: 0.5442 MB / 464 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.116, allocations: 1.508 MB / 465.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.116, allocations: 4 kB / 465.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.116, allocations: 0 / 465.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.116, allocations: 0 / 465.5 MB, free: 10.7 MB / 350.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.0048/0.1208, allocations: 1.739 MB / 467.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1209, allocations: 8.031 kB / 467.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.121, allocations: 114.8 kB / 467.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005605/0.1216, allocations: 151.7 kB / 467.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.1227, allocations: 0.6765 MB / 468.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1227, allocations: 62.12 kB / 468.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.1228, allocations: 72 kB / 468.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1239, allocations: 0.7732 MB / 469.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.1239, allocations: 3.938 kB / 469.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.124, allocations: 35.98 kB / 469.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.124, allocations: 24 kB / 469.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.125, allocations: 0.6987 MB / 469.9 MB, free: 6.211 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.005515/0.1306, allocations: 5.101 MB / 475 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.1322, allocations: 0.9574 MB / 475.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.1326, allocations: 302.7 kB / 476.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.444e-05/0.1327, allocations: 20.62 kB / 476.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1327, allocations: 39.22 kB / 476.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/0.1327, allocations: 0 / 476.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002764/0.1355, allocations: 1.236 MB / 477.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1355, allocations: 68 kB / 477.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.1362, allocations: 0.5542 MB / 478.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.1362, allocations: 37.7 kB / 478.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.1365, allocations: 359.9 kB / 478.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.1367, allocations: 272 kB / 478.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.1369, allocations: 138.5 kB / 478.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1371, allocations: 374.8 kB / 479.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.1375, allocations: 217.9 kB / 479.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.1379, allocations: 336.3 kB / 479.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008448/0.1387, allocations: 0.5858 MB / 480.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1388, allocations: 4 kB / 480.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001457/0.1402, allocations: 0.8602 MB / 481.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1402, allocations: 4.312 kB / 481.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1403, allocations: 8 kB / 481.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.1408, allocations: 180.4 kB / 481.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.1416, allocations: 199.7 kB / 481.7 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.1446, allocations: 2.536 MB / 484.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.1452, allocations: 55.66 kB / 484.2 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.1453, allocations: 24 kB / 484.3 MB, free: 6.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0002881/0.1456, allocations: 217.7 kB / 484.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.1457, allocations: 79.06 kB / 484.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.1471, allocations: 0.8101 MB / 485.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1471, allocations: 8 kB / 485.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1471, allocations: 4 kB / 485.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1471, allocations: 3.984 kB / 485.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.1496, allocations: 1.854 MB / 487.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1496, allocations: 4 kB / 487.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.1502, allocations: 167.7 kB / 487.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.1507, allocations: 168.7 kB / 487.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.1508, allocations: 12 kB / 487.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.1536, allocations: 2.544 MB / 490.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1536, allocations: 0 / 490.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.155, allocations: 0.8664 MB / 491 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.1553, allocations: 220.1 kB / 491.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.1554, allocations: 16 kB / 491.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.1559, allocations: 27.92 kB / 491.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.156, allocations: 52.53 kB / 491.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.1561, allocations: 16 kB / 491.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000463/0.1565, allocations: 390.8 kB / 491.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1565, allocations: 0 / 491.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.1573, allocations: 299.8 kB / 492 MB, free: 14.9 MB / 382.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 (63): * Single equations (assignments): 62 * 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.001659/0.159, allocations: 1.469 MB / 493.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.1603, allocations: 0.8071 MB / 494.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1603, allocations: 0 / 494.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006817/0.161, allocations: 0.5217 MB / 494.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.1616, allocations: 107.2 kB / 494.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.1693, allocations: 5.794 MB / 0.489 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.1699, allocations: 0.9388 MB / 0.4899 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.1704, allocations: 93.3 kB / 0.49 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.1708, allocations: 271.3 kB / 0.4902 GB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.468e-06/0.1708, allocations: 0 / 0.4902 GB, free: 4.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.2126, allocations: 17.38 MB / 0.5072 GB, free: 3.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.4, allocations: 7.109 kB / 0.5072 GB, free: 3.324 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches