Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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.001785/0.001785, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002189/0.002189, allocations: 221.6 kB / 23.03 MB, free: 4.945 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.409/1.409, allocations: 207.7 MB / 233.9 MB, free: 9.781 MB / 190.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.06751/0.06751, allocations: 14.39 MB / 300.5 MB, free: 7.254 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.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",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.002102/0.002102, allocations: 75.02 kB / 421.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09216, allocations: 52.89 MB / 474.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.006199/0.09836, allocations: 4.922 MB / 479.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004569/0.1029, allocations: 2.749 MB / 482 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.1032, allocations: 11.94 kB / 482 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.1039, allocations: 258.4 kB / 482.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.1064, allocations: 1.151 MB / 483.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.1073, allocations: 462.8 kB / 483.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.1088, allocations: 1.425 MB / 485.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.109, allocations: 57.88 kB / 485.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.1096, allocations: 0.5139 MB / 485.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000689/0.1103, allocations: 0.537 MB / 486.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1104, allocations: 76 kB / 486.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.1111, allocations: 319.8 kB / 486.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1113, allocations: 179.3 kB / 486.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.1117, allocations: 386.2 kB / 487.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.1131, allocations: 1.187 MB / 488.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1131, allocations: 0 / 488.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1131, allocations: 0 / 488.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1131, allocations: 4 kB / 488.5 MB, free: 3.828 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.003811/0.1169, allocations: 1.323 MB / 489.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1169, allocations: 8.031 kB / 489.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.442e-05/0.117, allocations: 17.19 kB / 489.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.285e-05/0.1171, allocations: 78.72 kB / 489.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.1175, allocations: 112.4 kB / 490 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.1185, allocations: 0.4945 MB / 490.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.1185, allocations: 49.12 kB / 490.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.1187, allocations: 63.95 kB / 490.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.1196, allocations: 486.1 kB / 491.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1196, allocations: 3.938 kB / 491.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.1197, allocations: 19.98 kB / 491.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1197, allocations: 8 kB / 491.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009017/0.1206, allocations: 495.7 kB / 491.6 MB, free: 0.6133 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.005055/0.1256, allocations: 1.806 MB / 493.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.1269, allocations: 0.4996 MB / 493.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/0.1273, allocations: 214.3 kB / 494.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.1274, allocations: 8.5 kB / 494.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1274, allocations: 35.72 kB / 494.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.186e-06/0.1274, allocations: 8 kB / 494.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.004122/0.1315, allocations: 1.188 MB / 495.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1316, allocations: 63.84 kB / 495.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.1323, allocations: 0.5339 MB / 496 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.767e-05/0.1324, allocations: 41.7 kB / 496 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.1327, allocations: 253.5 kB / 496.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.1329, allocations: 245.9 kB / 496.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.1332, allocations: 178.6 kB / 496.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.1334, allocations: 374.8 kB / 497.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.134, allocations: 321.9 kB / 497.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.1347, allocations: 393.4 kB / 497.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.1358, allocations: 0.6316 MB / 498.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1358, allocations: 3.938 kB / 498.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00345/0.1392, allocations: 1.276 MB / 499.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1393, allocations: 4 kB / 499.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1393, allocations: 0 / 499.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/0.1421, allocations: 0.6184 MB / 0.4886 GB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/0.1431, allocations: 211.7 kB / 0.4888 GB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.1551, allocations: 10.74 MB / 0.4992 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/0.156, allocations: 83.34 kB / 0.4993 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.156, allocations: 31.94 kB / 0.4994 GB, free: 11.91 MB / 382.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.0003587/0.1564, allocations: 197.7 kB / 0.4995 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.1565, allocations: 67.52 kB / 0.4996 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.1582, allocations: 0.7619 MB / 0.5004 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1583, allocations: 8 kB / 0.5004 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1583, allocations: 4 kB / 0.5004 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1583, allocations: 11.86 kB / 0.5004 GB, free: 10.84 MB / 382.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.002594/0.1609, allocations: 1.347 MB / 0.5017 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1609, allocations: 4 kB / 0.5017 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006723/0.1615, allocations: 127.9 kB / 0.5018 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009189/0.1625, allocations: 251 kB / 0.5021 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.1625, allocations: 12 kB / 0.5021 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.1662, allocations: 2.443 MB / 0.5045 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1662, allocations: 4 kB / 0.5045 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.1684, allocations: 1.101 MB / 0.5055 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.1687, allocations: 127.4 kB / 0.5057 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.1688, allocations: 16 kB / 0.5057 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.1693, allocations: 12 kB / 0.5057 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.1694, allocations: 48.56 kB / 0.5057 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.1694, allocations: 19.98 kB / 0.5057 GB, free: 5.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004586/0.1699, allocations: 358.9 kB / 0.5061 GB, free: 4.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1699, allocations: 4 kB / 0.5061 GB, free: 4.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009681/0.1708, allocations: 283.8 kB / 0.5064 GB, free: 4.531 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.002607/0.1734, allocations: 1.703 MB / 0.508 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003123/0.1766, allocations: 1.629 MB / 0.5096 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1766, allocations: 0 / 0.5096 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.1776, allocations: 498.1 kB / 0.5101 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/0.1784, allocations: 98.88 kB / 0.5102 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.1912, allocations: 6.838 MB / 0.5169 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1915, allocations: 305.7 kB / 0.5172 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003036/0.1918, allocations: 68.84 kB / 0.5172 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.1922, allocations: 227.4 kB / 0.5174 GB, free: 8.891 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1922, allocations: 0 / 0.5174 GB, free: 8.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2459/0.4381, allocations: 18.97 MB / 0.536 GB, free: 58.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/15.93, allocations: 10.22 kB / 0.536 GB, free: 58.54 MB / 398.1 MB " [Timeout remaining time 644] (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings_fmu --startTime=0 --stopTime=40 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.916402491973713]