Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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.0008506/0.0008506, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.005377/0.005377, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.239/1.239, allocations: 205.4 MB / 222.4 MB, free: 5.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0566/0.0566, allocations: 14.16 MB / 284.9 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.0004409/0.000441, allocations: 20.78 kB / 346.9 MB, free: 19.45 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.08315, allocations: 51.11 MB / 398 MB, free: 304 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.006379/0.08958, allocations: 6.952 MB / 404.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005128/0.09475, allocations: 3.48 MB / 408.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008919/0.09566, allocations: 15.94 kB / 408.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.09684, allocations: 366.4 kB / 408.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.1006, allocations: 1.454 MB / 410.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1017, allocations: 0.5295 MB / 410.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.1042, allocations: 1.863 MB / 412.6 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.1045, allocations: 118.5 kB / 412.7 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008245/0.1054, allocations: 485.4 kB / 413.2 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008461/0.1062, allocations: 0.5249 MB / 413.7 MB, free: 476 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.1064, allocations: 28 kB / 413.8 MB, free: 448 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.1074, allocations: 367.7 kB / 414.1 MB, free: 80 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.1076, allocations: 115.2 kB / 414.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007444/0.1084, allocations: 0.4952 MB / 414.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.1102, allocations: 1.296 MB / 416 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1102, allocations: 0 / 416 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1102, allocations: 0 / 416 MB, free: 14.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.42e-05/0.1102, allocations: 0 / 416 MB, free: 14.16 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.004683/0.1149, allocations: 1.509 MB / 417.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.115, allocations: 8.031 kB / 417.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002183/0.1152, allocations: 122.8 kB / 417.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006538/0.1159, allocations: 151.7 kB / 417.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.1171, allocations: 0.6452 MB / 418.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.1171, allocations: 62.12 kB / 418.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.1172, allocations: 68 kB / 418.6 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.1185, allocations: 0.7693 MB / 419.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1185, allocations: 0 / 419.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.1186, allocations: 32 kB / 419.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1186, allocations: 16 kB / 419.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1198, allocations: 0.7104 MB / 420.1 MB, free: 9.941 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.004722/0.1245, allocations: 4.685 MB / 424.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.1262, allocations: 0.9515 MB / 425.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.1267, allocations: 315.7 kB / 426.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-05/0.1268, allocations: 12.66 kB / 426.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1268, allocations: 39.22 kB / 426.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.525e-06/0.1268, allocations: 0 / 426.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002828/0.1296, allocations: 1.244 MB / 427.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1297, allocations: 60.06 kB / 427.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.1303, allocations: 0.4945 MB / 427.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.1303, allocations: 41.7 kB / 428 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.1306, allocations: 363.8 kB / 428.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.1308, allocations: 272 kB / 428.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.1309, allocations: 69.67 kB / 428.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.131, allocations: 370.8 kB / 429 MB, free: 420 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.1314, allocations: 225.9 kB / 429.2 MB, free: 192 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1554/0.2868, allocations: 321 kB / 429.5 MB, free: 25.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.2877, allocations: 0.5914 MB / 430.1 MB, free: 25.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.2877, allocations: 2.469 kB / 430.1 MB, free: 25.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00135/0.2891, allocations: 0.8549 MB / 431 MB, free: 25.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2891, allocations: 8.906 kB / 431 MB, free: 25.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.2891, allocations: 6.688 kB / 431 MB, free: 25.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/0.2897, allocations: 177.9 kB / 431.2 MB, free: 25.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.2905, allocations: 200.3 kB / 431.4 MB, free: 25.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.2929, allocations: 2.329 MB / 433.7 MB, free: 24.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.2935, allocations: 52.33 kB / 433.8 MB, free: 24.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.2935, allocations: 29 kB / 433.8 MB, free: 24.08 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.0002597/0.2938, allocations: 233.7 kB / 434 MB, free: 23.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/0.2939, allocations: 76.17 kB / 434.1 MB, free: 23.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.2952, allocations: 0.8043 MB / 434.9 MB, free: 23.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2952, allocations: 8.594 kB / 434.9 MB, free: 23.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2952, allocations: 5.969 kB / 434.9 MB, free: 23.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2952, allocations: 3.938 kB / 434.9 MB, free: 23.86 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 postOpt removeSimpleEquations (simulation): time 0.002141/0.2974, allocations: 1.724 MB / 436.6 MB, free: 23.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2974, allocations: 8.156 kB / 436.6 MB, free: 23.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/0.298, allocations: 162.5 kB / 436.8 MB, free: 23.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.2985, allocations: 178.4 kB / 437 MB, free: 23.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.2986, allocations: 10.5 kB / 437 MB, free: 23.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.3008, allocations: 2.325 MB / 439.3 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3008, allocations: 0.7031 kB / 439.3 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3021, allocations: 0.8618 MB / 440.2 MB, free: 21.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.3024, allocations: 206.9 kB / 440.4 MB, free: 21.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.3024, allocations: 10.72 kB / 440.4 MB, free: 21.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.3028, allocations: 35.22 kB / 440.4 MB, free: 21.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.3029, allocations: 51.23 kB / 440.5 MB, free: 21.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.303, allocations: 16.19 kB / 440.5 MB, free: 21.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003956/0.3034, allocations: 346.3 kB / 440.8 MB, free: 21.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3034, allocations: 0 / 440.8 MB, free: 21.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008212/0.3042, allocations: 279.5 kB / 441.1 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 (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.001556/0.3058, allocations: 1.473 MB / 442.6 MB, free: 20.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.3071, allocations: 0.8107 MB / 443.4 MB, free: 20.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3072, allocations: 0 / 443.4 MB, free: 20.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007158/0.3079, allocations: 0.5277 MB / 443.9 MB, free: 19.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.3085, allocations: 88.45 kB / 444 MB, free: 19.78 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.007312/0.3158, allocations: 6.052 MB / 450 MB, free: 16.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3162, allocations: 0.9423 MB / 451 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000434/0.3167, allocations: 94.52 kB / 451.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.317, allocations: 267 kB / 451.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.317, allocations: 0.9375 kB / 451.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3406, allocations: 14.32 MB / 465.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.3408, allocations: 235.3 kB / 465.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.183, allocations: 0 / 465.9 MB, free: 5.312 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches