Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",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.0007273/0.0007274, allocations: 91.53 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.004102/0.004102, allocations: 174.4 kB / 16.27 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.211/1.211, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0579/0.0579, allocations: 14.15 MB / 284.9 MB, free: 7.043 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.0004441/0.0004442, allocations: 12.22 kB / 346.9 MB, free: 19.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07788/0.07833, allocations: 51.11 MB / 398 MB, free: 284 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.006232/0.08461, allocations: 6.948 MB / 404.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.08974, allocations: 3.484 MB / 408.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008895/0.09066, allocations: 15.94 kB / 408.4 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.0918, allocations: 366.4 kB / 408.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.09536, allocations: 1.454 MB / 410.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.09639, allocations: 0.5373 MB / 410.8 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002208/0.0986, allocations: 1.855 MB / 412.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.09884, allocations: 118.5 kB / 412.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006071/0.09946, allocations: 489.4 kB / 413.2 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.1, allocations: 0.5288 MB / 413.7 MB, free: 448 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.1001, allocations: 24 kB / 413.8 MB, free: 424 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007662/0.1008, allocations: 363.7 kB / 414.1 MB, free: 60 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.101, allocations: 111.4 kB / 414.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.1014, allocations: 0.4991 MB / 414.7 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.1026, allocations: 1.296 MB / 416 MB, free: 14.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1026, allocations: 0 / 416 MB, free: 14.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1026, allocations: 0 / 416 MB, free: 14.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1026, allocations: 0 / 416 MB, free: 14.14 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.004239/0.1069, allocations: 1.513 MB / 417.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1069, allocations: 8.031 kB / 417.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.1071, allocations: 118.8 kB / 417.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/0.1076, allocations: 155.7 kB / 417.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009259/0.1086, allocations: 0.6413 MB / 418.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.1086, allocations: 62.12 kB / 418.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.1087, allocations: 68 kB / 418.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.1098, allocations: 0.7693 MB / 419.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1098, allocations: 0 / 419.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.1099, allocations: 32 kB / 419.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1099, allocations: 16 kB / 419.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1109, allocations: 0.7104 MB / 420.1 MB, free: 9.922 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.004127/0.1151, allocations: 4.685 MB / 424.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.1166, allocations: 0.9515 MB / 425.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.117, allocations: 315.7 kB / 426.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.1171, allocations: 8.656 kB / 426.1 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1171, allocations: 51.2 kB / 426.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 1.603e-06/0.1171, allocations: 0 / 426.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.00266/0.1198, allocations: 1.248 MB / 427.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1198, allocations: 64.06 kB / 427.4 MB, free: 2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.1203, allocations: 498.4 kB / 427.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.1204, allocations: 41.7 kB / 428 MB, free: 1.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1206, allocations: 367.8 kB / 428.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.1208, allocations: 268 kB / 428.6 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-05/0.1209, allocations: 73.62 kB / 428.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.121, allocations: 374.8 kB / 429 MB, free: 384 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.1214, allocations: 217.9 kB / 429.2 MB, free: 164 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1554/0.2768, allocations: 324.5 kB / 429.5 MB, free: 25.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.2777, allocations: 0.5912 MB / 430.1 MB, free: 24.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2777, allocations: 1.5 kB / 430.1 MB, free: 24.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001366/0.2791, allocations: 0.8591 MB / 431 MB, free: 24.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2791, allocations: 9.25 kB / 431 MB, free: 24.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2791, allocations: 7.297 kB / 431 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.2797, allocations: 176.7 kB / 431.2 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.2804, allocations: 194.5 kB / 431.4 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.283, allocations: 2.329 MB / 433.7 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.2835, allocations: 49.72 kB / 433.8 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.2835, allocations: 32.95 kB / 433.8 MB, free: 23.66 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.0002688/0.2838, allocations: 230.1 kB / 434 MB, free: 23.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/0.2839, allocations: 75.75 kB / 434.1 MB, free: 23.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.2852, allocations: 0.8031 MB / 434.9 MB, free: 23.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2852, allocations: 11.62 kB / 434.9 MB, free: 23.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2852, allocations: 2.219 kB / 434.9 MB, free: 23.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2853, allocations: 5.078 kB / 434.9 MB, free: 23.44 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.002149/0.2874, allocations: 1.726 MB / 436.6 MB, free: 22.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2874, allocations: 3.938 kB / 436.6 MB, free: 22.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.2881, allocations: 159.1 kB / 436.8 MB, free: 22.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.2885, allocations: 177.4 kB / 437 MB, free: 22.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2885, allocations: 13.25 kB / 437 MB, free: 22.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.2907, allocations: 2.32 MB / 439.3 MB, free: 21.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2907, allocations: 3.609 kB / 439.3 MB, free: 21.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2918, allocations: 0.8609 MB / 440.2 MB, free: 21.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.292, allocations: 203.3 kB / 440.4 MB, free: 21.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.2921, allocations: 12.05 kB / 440.4 MB, free: 21.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.2925, allocations: 36.25 kB / 440.4 MB, free: 21.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.2925, allocations: 55.56 kB / 440.5 MB, free: 21.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.2926, allocations: 20.06 kB / 440.5 MB, free: 21.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003322/0.2929, allocations: 344.8 kB / 440.8 MB, free: 21.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2929, allocations: 3.75 kB / 440.8 MB, free: 21.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006531/0.2936, allocations: 282.2 kB / 441.1 MB, free: 21.23 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.001377/0.295, allocations: 1.471 MB / 442.6 MB, free: 20.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.2967, allocations: 0.8077 MB / 443.4 MB, free: 19.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2967, allocations: 0 / 443.4 MB, free: 19.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.2978, allocations: 0.5213 MB / 443.9 MB, free: 19.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.2987, allocations: 87.53 kB / 444 MB, free: 19.63 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.009523/0.3082, allocations: 6.057 MB / 450 MB, free: 16.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.3087, allocations: 0.9423 MB / 451 MB, free: 15.33 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007414/0.3095, allocations: 94.52 kB / 451.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.3098, allocations: 269 kB / 451.3 MB, free: 15.1 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3098, allocations: 0 / 451.3 MB, free: 15.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.3429, allocations: 14.32 MB / 465.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.3431, allocations: 227.3 kB / 465.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.202, allocations: 3.938 kB / 465.9 MB, free: 5.23 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches