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.002004/0.002004, 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.002417/0.002417, allocations: 222.7 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.463/1.463, allocations: 207.7 MB / 233.9 MB, free: 9.777 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.08954/0.08954, 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.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.002103/0.002103, allocations: 69.31 kB / 421.4 MB, free: 39.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0765/0.07861, allocations: 52.9 MB / 474.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.006538/0.08514, allocations: 4.922 MB / 479.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.08986, allocations: 2.749 MB / 482 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.0902, allocations: 15.88 kB / 482 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.09086, allocations: 258.4 kB / 482.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.09343, allocations: 1.158 MB / 483.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009185/0.09435, allocations: 466.3 kB / 483.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.09597, allocations: 1.421 MB / 485.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.09614, allocations: 49.91 kB / 485.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006482/0.09679, allocations: 0.51 MB / 485.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007352/0.09752, allocations: 0.541 MB / 486.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.09767, allocations: 76 kB / 486.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.09829, allocations: 323.8 kB / 486.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.09846, allocations: 183.3 kB / 486.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.09888, allocations: 390.2 kB / 487.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.1003, allocations: 1.191 MB / 488.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1003, allocations: 4 kB / 488.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1003, allocations: 0 / 488.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1003, allocations: 0 / 488.5 MB, free: 3.805 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.003739/0.104, allocations: 1.323 MB / 489.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1041, allocations: 8.031 kB / 489.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.149e-05/0.1041, allocations: 13.19 kB / 489.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.2e-05/0.1042, allocations: 82.7 kB / 489.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.1046, allocations: 112.4 kB / 490.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009921/0.1056, allocations: 0.5037 MB / 490.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.1056, allocations: 45.12 kB / 490.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1057, allocations: 63.95 kB / 490.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/0.1066, allocations: 482.1 kB / 491.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1066, allocations: 3.938 kB / 491.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.1066, allocations: 23.94 kB / 491.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1067, allocations: 12 kB / 491.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.1075, allocations: 491.7 kB / 491.7 MB, free: 0.5859 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.004667/0.1122, allocations: 1.798 MB / 493.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1134, allocations: 0.5119 MB / 494 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.1138, allocations: 210.3 kB / 494.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.1138, allocations: 4.5 kB / 494.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1138, allocations: 47 kB / 494.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.295e-06/0.1138, allocations: 0 / 494.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.003845/0.1177, allocations: 1.192 MB / 495.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1177, allocations: 59.91 kB / 495.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.1184, allocations: 0.5339 MB / 496 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.1185, allocations: 45.7 kB / 496 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.1188, allocations: 257.5 kB / 496.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.119, allocations: 241.9 kB / 496.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.1193, allocations: 174.6 kB / 496.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1195, allocations: 370.8 kB / 497.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.1201, allocations: 329.9 kB / 497.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.1207, allocations: 393.4 kB / 497.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.1218, allocations: 0.6355 MB / 498.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1218, allocations: 3.938 kB / 498.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003373/0.1252, allocations: 1.276 MB / 499.7 MB, free: 8.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1252, allocations: 4 kB / 499.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1252, allocations: 0 / 499.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.128, allocations: 0.6067 MB / 0.4886 GB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/0.129, allocations: 211.8 kB / 0.4888 GB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.1414, allocations: 10.73 MB / 0.4993 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.1423, allocations: 75.36 kB / 0.4993 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.1424, allocations: 35.98 kB / 0.4994 GB, free: 11.9 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.0003299/0.1427, allocations: 197.7 kB / 0.4995 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.1428, allocations: 71.52 kB / 0.4996 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.1445, allocations: 0.758 MB / 0.5004 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1445, allocations: 4 kB / 0.5004 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1445, allocations: 4 kB / 0.5004 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.1445, allocations: 11.86 kB / 0.5004 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/0.1476, allocations: 1.351 MB / 0.5017 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.1476, allocations: 4 kB / 0.5017 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.1487, allocations: 131.9 kB / 0.5018 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.1501, allocations: 251 kB / 0.5021 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.1501, allocations: 12 kB / 0.5021 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005693/0.1558, allocations: 2.451 MB / 0.5045 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1558, allocations: 0 / 0.5045 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/0.1591, allocations: 1.097 MB / 0.5055 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.1596, allocations: 135.4 kB / 0.5057 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.1597, allocations: 12 kB / 0.5057 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007453/0.1604, allocations: 16 kB / 0.5057 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.1606, allocations: 52.48 kB / 0.5057 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.1607, allocations: 16 kB / 0.5058 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007011/0.1614, allocations: 358.9 kB / 0.5061 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1614, allocations: 4 kB / 0.5061 GB, free: 4.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001404/0.1628, allocations: 291.8 kB / 0.5064 GB, free: 4.5 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.003846/0.1666, allocations: 1.691 MB / 0.508 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.1711, allocations: 1.629 MB / 0.5096 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1711, allocations: 0 / 0.5096 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.1727, allocations: 0.4904 MB / 0.5101 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.1739, allocations: 110.4 kB / 0.5102 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.1931, allocations: 6.858 MB / 0.5169 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.1935, allocations: 301.7 kB / 0.5172 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004842/0.194, allocations: 64.86 kB / 0.5173 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.1946, allocations: 223.4 kB / 0.5175 GB, free: 8.848 MB / 398.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1946, allocations: 8 kB / 0.5175 GB, free: 8.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2355/0.4301, allocations: 19.08 MB / 0.5361 GB, free: 58.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/15.99, allocations: 17.69 kB / 0.5361 GB, free: 58.68 MB / 398.1 MB " [Timeout remaining time 644] (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.985122489044443]