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.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001887/0.001887, allocations: 197.8 kB / 16.14 MB, free: 6.66 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.163/1.163, allocations: 205.1 MB / 222 MB, free: 4.758 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 / 283.5 MB, free: 7.289 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.001243/0.001243, allocations: 67.91 kB / 344.5 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06817/0.06942, allocations: 50.13 MB / 394.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.006298/0.07575, allocations: 7.446 MB / 402.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.08001, allocations: 3.538 MB / 405.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.08032, allocations: 15.94 kB / 405.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007494/0.08109, allocations: 366.4 kB / 406 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.08372, allocations: 1.478 MB / 407.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.08461, allocations: 0.549 MB / 408 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.08639, allocations: 1.848 MB / 409.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.0866, allocations: 122.5 kB / 410 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004862/0.08709, allocations: 489.4 kB / 410.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004763/0.08758, allocations: 0.5287 MB / 411 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/0.08764, allocations: 28 kB / 411 MB, free: 1.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006684/0.08832, allocations: 367.7 kB / 411.4 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.08842, allocations: 115.3 kB / 411.5 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.0888, allocations: 489.3 kB / 412 MB, free: 184 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.08994, allocations: 1.32 MB / 413.3 MB, free: 14.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.08995, allocations: 0 / 413.3 MB, free: 14.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.08996, allocations: 0 / 413.3 MB, free: 14.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.08997, allocations: 0 / 413.3 MB, free: 14.85 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.004313/0.09429, allocations: 1.676 MB / 415 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.09434, allocations: 8.031 kB / 415 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.09447, allocations: 122.8 kB / 415.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005224/0.095, allocations: 147.7 kB / 415.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.0959, allocations: 0.6452 MB / 415.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.09596, allocations: 66.06 kB / 415.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.09604, allocations: 72 kB / 416 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.0971, allocations: 0.7654 MB / 416.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.09714, allocations: 8 kB / 416.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.0972, allocations: 28 kB / 416.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.09722, allocations: 20 kB / 416.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.09827, allocations: 0.6987 MB / 417.5 MB, free: 10.47 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.00419/0.1025, allocations: 4.718 MB / 422.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.104, allocations: 0.9483 MB / 423.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/0.1044, allocations: 311.8 kB / 423.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.1045, allocations: 12.59 kB / 423.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1045, allocations: 39.22 kB / 423.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.033e-06/0.1045, allocations: 0 / 423.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002597/0.1071, allocations: 1.24 MB / 424.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1072, allocations: 64 kB / 424.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.1076, allocations: 0.4906 MB / 425.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.1077, allocations: 45.69 kB / 425.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1079, allocations: 367.8 kB / 425.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.1081, allocations: 272 kB / 426 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.1083, allocations: 134.5 kB / 426.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1084, allocations: 374.8 kB / 426.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.1087, allocations: 221.9 kB / 426.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.1091, allocations: 332.3 kB / 427 MB, free: 264 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1283/0.2374, allocations: 0.5872 MB / 427.6 MB, free: 37.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.2375, allocations: 0 / 427.6 MB, free: 37.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001551/0.239, allocations: 0.8573 MB / 428.5 MB, free: 37.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2391, allocations: 6.688 kB / 428.5 MB, free: 37.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2391, allocations: 2.75 kB / 428.5 MB, free: 37.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.2397, allocations: 180.2 kB / 428.7 MB, free: 37.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.2404, allocations: 200.5 kB / 428.9 MB, free: 37.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.2429, allocations: 2.338 MB / 431.2 MB, free: 35.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.2435, allocations: 57.52 kB / 431.3 MB, free: 35.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.2436, allocations: 27.47 kB / 431.3 MB, free: 35.72 MB / 318.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.000281/0.2438, allocations: 225.8 kB / 431.5 MB, free: 35.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.244, allocations: 76.66 kB / 431.6 MB, free: 35.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.2453, allocations: 0.8059 MB / 432.4 MB, free: 35.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2453, allocations: 7.469 kB / 432.4 MB, free: 35.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2453, allocations: 3.812 kB / 432.4 MB, free: 35.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2454, allocations: 6.422 kB / 432.4 MB, free: 35.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.2476, allocations: 1.727 MB / 434.1 MB, free: 34.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2476, allocations: 0.6562 kB / 434.1 MB, free: 34.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.2482, allocations: 163.5 kB / 434.3 MB, free: 34.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.2487, allocations: 180.5 kB / 434.5 MB, free: 34.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.2488, allocations: 10.75 kB / 434.5 MB, free: 34.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.2509, allocations: 2.341 MB / 436.8 MB, free: 32.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2509, allocations: 0 / 436.8 MB, free: 32.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.252, allocations: 0.8656 MB / 437.7 MB, free: 31.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.2522, allocations: 202.7 kB / 437.9 MB, free: 31.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.2523, allocations: 15.81 kB / 437.9 MB, free: 31.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.2527, allocations: 28.45 kB / 437.9 MB, free: 31.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.2528, allocations: 50.48 kB / 438 MB, free: 31.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2528, allocations: 17.92 kB / 438 MB, free: 31.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003297/0.2532, allocations: 353.1 kB / 438.3 MB, free: 31.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2532, allocations: 0 / 438.3 MB, free: 31.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006462/0.2538, allocations: 273.4 kB / 438.6 MB, free: 31.42 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 (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.001345/0.2552, allocations: 1.465 MB / 440.1 MB, free: 30.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2563, allocations: 0.8036 MB / 440.9 MB, free: 30.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2563, allocations: 3.875 kB / 440.9 MB, free: 30.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.2569, allocations: 0.5134 MB / 441.4 MB, free: 29.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.2575, allocations: 92.02 kB / 441.5 MB, free: 29.73 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.006612/0.2641, allocations: 6.029 MB / 447.5 MB, free: 26.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2644, allocations: 0.9398 MB / 448.5 MB, free: 25.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004024/0.2649, allocations: 93.73 kB / 448.6 MB, free: 25.37 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.2651, allocations: 266.9 kB / 448.8 MB, free: 25.17 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2651, allocations: 0 / 448.8 MB, free: 25.17 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.2864, allocations: 14.6 MB / 463.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.2865, allocations: 219 kB / 463.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.07, allocations: 0 / 463.6 MB, free: 13.93 MB / 318.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","../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches