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.001381/0.001381, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001598/0.001598, allocations: 215 kB / 23.04 MB, free: 5.059 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.456/1.456, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.06991/0.06991, allocations: 14.39 MB / 300.5 MB, free: 7.426 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.002076/0.002076, allocations: 71.91 kB / 421.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07526/0.07734, allocations: 52.89 MB / 474.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.008156/0.0855, allocations: 5.533 MB / 479.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005693/0.09119, allocations: 2.983 MB / 482.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007139/0.0919, allocations: 15.88 kB / 482.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009594/0.09286, allocations: 274.4 kB / 483.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.09613, allocations: 1.214 MB / 484.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.0973, allocations: 486.7 kB / 484.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.09938, allocations: 1.425 MB / 486.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.09954, allocations: 57.88 kB / 486.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007462/0.1003, allocations: 0.5023 MB / 486.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007499/0.101, allocations: 0.5448 MB / 487.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.1012, allocations: 80 kB / 487.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007858/0.1019, allocations: 319.8 kB / 487.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.1022, allocations: 183.3 kB / 487.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.1029, allocations: 461.8 kB / 488.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.1048, allocations: 1.187 MB / 489.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1048, allocations: 0 / 489.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1048, allocations: 4 kB / 489.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.1048, allocations: 0 / 489.6 MB, free: 2.965 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.004224/0.1091, allocations: 1.323 MB / 490.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.1091, allocations: 8.031 kB / 490.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.736e-05/0.1092, allocations: 17.19 kB / 490.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.1093, allocations: 78.72 kB / 491 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004304/0.1097, allocations: 112.4 kB / 491.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.1109, allocations: 0.5037 MB / 491.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.1109, allocations: 45.12 kB / 491.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.111, allocations: 63.95 kB / 491.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008937/0.1119, allocations: 482 kB / 492.2 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1119, allocations: 4 kB / 492.2 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.112, allocations: 20 kB / 492.2 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.112, allocations: 8 kB / 492.2 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.113, allocations: 491.8 kB / 492.7 MB, free: 15.75 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 preOpt removeSimpleEquations (simulation): time 0.005983/0.119, allocations: 3.252 MB / 495.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.1203, allocations: 0.5077 MB / 496.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.1207, allocations: 214.2 kB / 496.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.1207, allocations: 12.5 kB / 496.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.1208, allocations: 43.06 kB / 496.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.194e-06/0.1208, allocations: 0 / 496.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.004389/0.1252, allocations: 1.188 MB / 497.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1252, allocations: 55.91 kB / 497.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.126, allocations: 0.5417 MB / 498.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.1261, allocations: 45.64 kB / 498.5 MB, free: 9.516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.1264, allocations: 261.5 kB / 498.8 MB, free: 9.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.1266, allocations: 241.9 kB / 499 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.1269, allocations: 170.6 kB / 499.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.1272, allocations: 374.8 kB / 499.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/0.1278, allocations: 321.9 kB / 499.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/0.1285, allocations: 393.4 kB / 0.4885 GB, free: 7.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.1298, allocations: 0.6394 MB / 0.4892 GB, free: 7.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.1298, allocations: 3.938 kB / 0.4892 GB, free: 7.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003472/0.1333, allocations: 1.276 MB / 0.4904 GB, free: 5.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1333, allocations: 4 kB / 0.4904 GB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1333, allocations: 3.938 kB / 0.4904 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/0.1362, allocations: 0.6106 MB / 0.491 GB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009782/0.1372, allocations: 211.8 kB / 0.4912 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.1504, allocations: 10.81 MB / 0.5018 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008597/0.1512, allocations: 87.34 kB / 0.5018 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.1513, allocations: 28 kB / 0.5019 GB, free: 9.234 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.000397/0.1517, allocations: 193.7 kB / 0.5021 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.1519, allocations: 75.5 kB / 0.5021 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.1537, allocations: 0.758 MB / 0.5029 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1537, allocations: 8 kB / 0.5029 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1537, allocations: 0 / 0.5029 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.1537, allocations: 11.86 kB / 0.5029 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.1565, allocations: 1.584 MB / 0.5044 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1565, allocations: 0 / 0.5044 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.1572, allocations: 131.9 kB / 0.5046 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008817/0.158, allocations: 251 kB / 0.5048 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.1581, allocations: 16 kB / 0.5048 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/0.1619, allocations: 2.497 MB / 0.5073 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1619, allocations: 3.984 kB / 0.5073 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.1641, allocations: 1.104 MB / 0.5083 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/0.1645, allocations: 127.4 kB / 0.5085 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.1646, allocations: 15.94 kB / 0.5085 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.1651, allocations: 23.98 kB / 0.5085 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1652, allocations: 44.56 kB / 0.5085 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.1652, allocations: 16 kB / 0.5086 GB, free: 2.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004656/0.1657, allocations: 362.8 kB / 0.5089 GB, free: 1.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1657, allocations: 0 / 0.5089 GB, free: 1.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009322/0.1666, allocations: 287.8 kB / 0.5092 GB, free: 1.527 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.002616/0.1692, allocations: 1.695 MB / 0.5108 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.1723, allocations: 1.625 MB / 0.5124 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1723, allocations: 0 / 0.5124 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.1733, allocations: 0.4942 MB / 0.5129 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.174, allocations: 102.5 kB / 0.513 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.1868, allocations: 6.858 MB / 0.5197 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.1874, allocations: 0.8994 MB / 0.5206 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002894/0.1877, allocations: 72.83 kB / 0.5206 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.188, allocations: 227.4 kB / 0.5209 GB, free: 5.262 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.188, allocations: 0 / 0.5209 GB, free: 5.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.258/0.4461, allocations: 18.93 MB / 0.5393 GB, free: 56.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.24, allocations: 10.95 kB / 0.5394 GB, free: 56.96 MB / 398.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: 19.153303047001828]