Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 114.5 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07356/0.07356, allocations: 14.41 MB / 296.8 MB, free: 1.883 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 71.89 kB / 416.2 MB, free: 8.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2635, allocations: 52.88 MB / 469 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.007617/0.2712, allocations: 5.509 MB / 474.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.2768, allocations: 2.977 MB / 477.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007674/0.2776, allocations: 15.88 kB / 477.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009936/0.2785, allocations: 270.4 kB / 477.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.282, allocations: 1.209 MB / 479 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.2833, allocations: 0.4946 MB / 479.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002242/0.2855, allocations: 1.41 MB / 480.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.2858, allocations: 53.56 kB / 481 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009768/0.2867, allocations: 0.5023 MB / 481.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.2878, allocations: 0.5487 MB / 482 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.288, allocations: 76 kB / 482.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.289, allocations: 323.8 kB / 482.4 MB, free: 336 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.2893, allocations: 183.3 kB / 482.6 MB, free: 152 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007934/0.2901, allocations: 461.9 kB / 483 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.2924, allocations: 1.185 MB / 484.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2924, allocations: 0 / 484.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2924, allocations: 3.938 kB / 484.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.2924, allocations: 0 / 484.2 MB, free: 14.5 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.004682/0.2971, allocations: 1.394 MB / 485.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2971, allocations: 8.031 kB / 485.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.619e-05/0.2972, allocations: 13.19 kB / 485.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.2973, allocations: 86.7 kB / 485.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.2979, allocations: 104.5 kB / 485.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.2993, allocations: 0.564 MB / 486.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.2994, allocations: 53.11 kB / 486.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.2995, allocations: 67.95 kB / 486.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3007, allocations: 482 kB / 487 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3007, allocations: 0 / 487 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.3007, allocations: 20 kB / 487 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.3007, allocations: 12 kB / 487 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3018, allocations: 491.7 kB / 487.5 MB, free: 11.12 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.007003/0.3088, allocations: 3.279 MB / 490.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.3104, allocations: 0.7454 MB / 491.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.3109, allocations: 214.5 kB / 491.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.311, allocations: 8.562 kB / 491.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.311, allocations: 35.12 kB / 491.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.785e-06/0.311, allocations: 0 / 491.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=62): time 0.004634/0.3157, allocations: 1.273 MB / 493 MB, free: 5.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.3157, allocations: 59.97 kB / 493.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.3167, allocations: 0.5339 MB / 493.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.3169, allocations: 41.7 kB / 493.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.3172, allocations: 261.5 kB / 493.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.3175, allocations: 237.9 kB / 494.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.3178, allocations: 182.6 kB / 494.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.3181, allocations: 370.8 kB / 494.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/0.3187, allocations: 317.9 kB / 495 MB, free: 3.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.3194, allocations: 397.4 kB / 495.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.3206, allocations: 0.6396 MB / 496 MB, free: 2.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3206, allocations: 3.938 kB / 496 MB, free: 2.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003566/0.3242, allocations: 1.275 MB / 497.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.3242, allocations: 4 kB / 497.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3242, allocations: 7.938 kB / 497.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.3271, allocations: 0.6028 MB / 497.9 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.3282, allocations: 219.7 kB / 498.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.3415, allocations: 11.53 MB / 0.4977 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009165/0.3424, allocations: 79.39 kB / 0.4978 GB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/0.3425, allocations: 28 kB / 0.4978 GB, free: 3.289 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,12), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003608/0.3428, allocations: 205.6 kB / 0.498 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.343, allocations: 67.52 kB / 0.4981 GB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.3449, allocations: 0.7557 MB / 0.4988 GB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.3449, allocations: 12 kB / 0.4988 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3449, allocations: 4 kB / 0.4988 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.3449, allocations: 7.922 kB / 0.4989 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.3478, allocations: 1.606 MB / 0.5004 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3478, allocations: 0 / 0.5004 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.3485, allocations: 131.8 kB / 0.5005 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.3495, allocations: 247.8 kB / 0.5008 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.3495, allocations: 15.98 kB / 0.5008 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/0.3536, allocations: 2.602 MB / 0.5033 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3536, allocations: 4 kB / 0.5033 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.3558, allocations: 1.094 MB / 0.5044 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.3562, allocations: 208.5 kB / 0.5046 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/0.3563, allocations: 12 kB / 0.5046 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/0.3567, allocations: 23.94 kB / 0.5046 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3569, allocations: 48.48 kB / 0.5047 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.3569, allocations: 16 kB / 0.5047 GB, free: 11.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00049/0.3574, allocations: 366.8 kB / 0.5051 GB, free: 11.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3574, allocations: 0 / 0.5051 GB, free: 11.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009454/0.3583, allocations: 283.9 kB / 0.5053 GB, free: 11.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * 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 (47): * Single equations (assignments): 46 * 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 {(6,12,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002714/0.3611, allocations: 1.692 MB / 0.507 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.3642, allocations: 1.635 MB / 0.5086 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3642, allocations: 0 / 0.5086 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3653, allocations: 0.4975 MB / 0.5091 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.3661, allocations: 102.2 kB / 0.5092 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.3794, allocations: 6.847 MB / 0.5158 GB, free: 292 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.38, allocations: 0.8994 MB / 0.5167 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.3803, allocations: 72.83 kB / 0.5168 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.3807, allocations: 223.4 kB / 0.517 GB, free: 15.07 MB / 398.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3807, allocations: 0 / 0.517 GB, free: 15.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05786/0.4386, allocations: 18.45 MB / 0.535 GB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/14.87, allocations: 8 kB / 0.535 GB, free: 12.6 MB / 414.1 MB " [Timeout remaining time 645] (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad_fmu --startTime=0 --stopTime=200 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 18.74228971998673]