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.007702/0.007701, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001886/0.001886, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.415/1.415, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06814/0.06814, allocations: 14.17 MB / 284.1 MB, free: 6.977 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.00206/0.00206, allocations: 72.11 kB / 396 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2496, allocations: 50.14 MB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.00705/0.2567, allocations: 7.283 MB / 453.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005506/0.2622, allocations: 3.541 MB / 457 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006332/0.2629, allocations: 17.47 kB / 457 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.264, allocations: 416.2 kB / 457.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.2678, allocations: 1.572 MB / 459 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.2689, allocations: 0.5713 MB / 459.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.2714, allocations: 1.853 MB / 461.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.2717, allocations: 132.4 kB / 461.5 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.2729, allocations: 0.6117 MB / 462.1 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/0.2738, allocations: 0.633 MB / 462.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.2739, allocations: 65.69 kB / 462.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.2751, allocations: 422.6 kB / 463.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.2753, allocations: 168.5 kB / 463.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.2759, allocations: 0.5436 MB / 463.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.2781, allocations: 1.51 MB / 465.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.2781, allocations: 5.203 kB / 465.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.41e-06/0.2781, allocations: 0 / 465.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.2782, allocations: 3.938 kB / 465.5 MB, free: 3.465 MB / 334.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.005787/0.2839, allocations: 1.765 MB / 467.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.284, allocations: 8.031 kB / 467.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.2842, allocations: 118.8 kB / 467.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006646/0.2848, allocations: 156.2 kB / 467.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.2863, allocations: 0.685 MB / 468.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.2863, allocations: 58.12 kB / 468.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.2864, allocations: 68 kB / 468.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.2877, allocations: 0.7693 MB / 469.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.2877, allocations: 4 kB / 469.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.2878, allocations: 28 kB / 469.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.2878, allocations: 20 kB / 469.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.289, allocations: 0.7026 MB / 469.8 MB, free: 15.23 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.006761/0.2958, allocations: 5.081 MB / 474.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.2976, allocations: 0.9551 MB / 475.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/0.2981, allocations: 314.6 kB / 476.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-05/0.2981, allocations: 16.62 kB / 476.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.2982, allocations: 43.22 kB / 476.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.2982, allocations: 0 / 476.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.003249/0.3015, allocations: 1.245 MB / 477.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3015, allocations: 60.06 kB / 477.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008251/0.3024, allocations: 0.5498 MB / 478.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.3024, allocations: 41.7 kB / 478.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.3028, allocations: 372.6 kB / 478.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.3031, allocations: 281.5 kB / 478.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.3033, allocations: 130.6 kB / 478.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3035, allocations: 378.7 kB / 479.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.3039, allocations: 217.9 kB / 479.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.3044, allocations: 328.3 kB / 479.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009075/0.3053, allocations: 0.6014 MB / 480.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3054, allocations: 0 / 480.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001615/0.307, allocations: 0.8683 MB / 481.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.307, allocations: 8 kB / 481.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.307, allocations: 4 kB / 481.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.3077, allocations: 177 kB / 481.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/0.3085, allocations: 199.8 kB / 481.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.3121, allocations: 2.532 MB / 484.2 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.3129, allocations: 51.89 kB / 484.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.313, allocations: 28 kB / 484.3 MB, free: 15.92 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.000362/0.3134, allocations: 221.7 kB / 484.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3136, allocations: 75.53 kB / 484.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.3151, allocations: 0.8062 MB / 485.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3152, allocations: 8 kB / 485.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.3152, allocations: 4 kB / 485.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.3152, allocations: 3.984 kB / 485.4 MB, free: 14.79 MB / 366.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.002902/0.3181, allocations: 1.862 MB / 487.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3181, allocations: 0 / 487.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.3189, allocations: 159.8 kB / 487.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005869/0.3195, allocations: 168.5 kB / 487.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.3195, allocations: 12.09 kB / 487.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.323, allocations: 2.54 MB / 490.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.323, allocations: 0 / 490.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.3248, allocations: 0.8591 MB / 491 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/0.3253, allocations: 232.5 kB / 491.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.3254, allocations: 16 kB / 491.2 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.326, allocations: 16 kB / 491.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3261, allocations: 60.45 kB / 491.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.3262, allocations: 16 kB / 491.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005583/0.3267, allocations: 386.8 kB / 491.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3267, allocations: 0 / 491.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3278, allocations: 307.8 kB / 492 MB, free: 7.918 MB / 366.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.002183/0.33, allocations: 1.477 MB / 493.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.3318, allocations: 0.8228 MB / 494.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3318, allocations: 0 / 494.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.3327, allocations: 0.5293 MB / 494.8 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.3335, allocations: 124.9 kB / 494.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009595/0.3432, allocations: 5.825 MB / 0.489 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.3438, allocations: 0.9425 MB / 0.4899 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.3443, allocations: 93.28 kB / 0.49 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.3447, allocations: 279.3 kB / 0.4903 GB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3447, allocations: 0 / 0.4903 GB, free: 13.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05211/0.3968, allocations: 17.35 MB / 0.5072 GB, free: 12.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.39, allocations: 352 / 0.5072 GB, free: 12.23 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches