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.001356/0.001356, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00153/0.00153, allocations: 216.3 kB / 23.04 MB, free: 5.074 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.425/1.425, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.06903/0.06903, allocations: 14.38 MB / 300.5 MB, free: 7.453 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.0033/0.0033, allocations: 67.19 kB / 421.4 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.0951, allocations: 52.89 MB / 474.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.006749/0.1018, allocations: 5.536 MB / 479.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.107, allocations: 2.983 MB / 482.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.1075, allocations: 11.94 kB / 482.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.1082, allocations: 282.3 kB / 483.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.1109, allocations: 1.2 MB / 484.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.1119, allocations: 490.5 kB / 484.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.1136, allocations: 1.421 MB / 486.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1138, allocations: 61.88 kB / 486.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007407/0.1145, allocations: 0.5061 MB / 486.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000755/0.1153, allocations: 0.5448 MB / 487.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.1154, allocations: 76 kB / 487.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007296/0.1161, allocations: 323.8 kB / 487.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1163, allocations: 179.3 kB / 487.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.1167, allocations: 457.8 kB / 488.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.1183, allocations: 1.179 MB / 489.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1183, allocations: 3.984 kB / 489.5 MB, free: 3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1183, allocations: 0 / 489.5 MB, free: 3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1183, allocations: 0 / 489.5 MB, free: 3 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.003979/0.1223, allocations: 1.319 MB / 490.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1223, allocations: 12.03 kB / 490.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.599e-05/0.1224, allocations: 13.19 kB / 490.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.836e-05/0.1225, allocations: 82.7 kB / 491 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.1229, allocations: 116.3 kB / 491.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.124, allocations: 0.4907 MB / 491.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.124, allocations: 53.12 kB / 491.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.1241, allocations: 67.94 kB / 491.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/0.1249, allocations: 482 kB / 492.2 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.125, allocations: 4 kB / 492.2 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.125, allocations: 16 kB / 492.2 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.125, allocations: 12 kB / 492.2 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.126, allocations: 491.7 kB / 492.7 MB, free: 15.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 preOpt removeSimpleEquations (simulation): time 0.005638/0.1316, allocations: 3.032 MB / 495.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.1329, allocations: 0.5075 MB / 496.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.1332, allocations: 210.3 kB / 496.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.1333, allocations: 8.484 kB / 496.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1333, allocations: 39.06 kB / 496.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.195e-06/0.1333, allocations: 0 / 496.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.004039/0.1374, allocations: 1.196 MB / 497.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1374, allocations: 55.91 kB / 497.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/0.1381, allocations: 0.5339 MB / 498.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/0.1382, allocations: 41.7 kB / 498.3 MB, free: 9.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.1384, allocations: 261.5 kB / 498.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.1386, allocations: 237.9 kB / 498.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.1389, allocations: 182.6 kB / 498.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1391, allocations: 370.8 kB / 499.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.1396, allocations: 317.9 kB / 499.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.1403, allocations: 401.3 kB / 0.4883 GB, free: 8.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1414, allocations: 0.6356 MB / 0.4889 GB, free: 7.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1414, allocations: 3.938 kB / 0.4889 GB, free: 7.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003228/0.1446, allocations: 1.275 MB / 0.4902 GB, free: 6.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1446, allocations: 8 kB / 0.4902 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1446, allocations: 3.984 kB / 0.4902 GB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/0.1474, allocations: 0.6107 MB / 0.4908 GB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.1483, allocations: 219.7 kB / 0.491 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.1604, allocations: 10.81 MB / 0.5015 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.1612, allocations: 87.34 kB / 0.5016 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.1613, allocations: 31.94 kB / 0.5016 GB, free: 9.535 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.0003795/0.1617, allocations: 197.7 kB / 0.5018 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.1618, allocations: 71.52 kB / 0.5019 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.1636, allocations: 0.758 MB / 0.5026 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1636, allocations: 8 kB / 0.5026 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1636, allocations: 4 kB / 0.5027 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.1636, allocations: 7.922 kB / 0.5027 GB, free: 8.477 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.002724/0.1663, allocations: 1.576 MB / 0.5042 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1663, allocations: 0 / 0.5042 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.167, allocations: 139.8 kB / 0.5043 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009127/0.1679, allocations: 243 kB / 0.5046 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.1679, allocations: 12 kB / 0.5046 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.1717, allocations: 2.505 MB / 0.507 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1717, allocations: 3.984 kB / 0.507 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.1739, allocations: 1.108 MB / 0.5081 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.1741, allocations: 127.4 kB / 0.5082 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.1742, allocations: 8 kB / 0.5082 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.1747, allocations: 19.98 kB / 0.5083 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.1748, allocations: 44.56 kB / 0.5083 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.1748, allocations: 16.25 kB / 0.5083 GB, free: 2.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004562/0.1753, allocations: 358.8 kB / 0.5087 GB, free: 2.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1753, allocations: 0 / 0.5087 GB, free: 2.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008605/0.1761, allocations: 287.8 kB / 0.5089 GB, free: 1.848 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.002577/0.1787, allocations: 1.695 MB / 0.5106 GB, free: 120 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00298/0.1817, allocations: 1.617 MB / 0.5122 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.1817, allocations: 4 kB / 0.5122 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.1827, allocations: 0.4982 MB / 0.5127 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.1834, allocations: 102.9 kB / 0.5128 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.1962, allocations: 6.84 MB / 0.5194 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.1967, allocations: 0.8954 MB / 0.5203 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.197, allocations: 72.83 kB / 0.5204 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.1974, allocations: 219.4 kB / 0.5206 GB, free: 5.609 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1974, allocations: 0 / 0.5206 GB, free: 5.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2543/0.4517, allocations: 18.83 MB / 0.539 GB, free: 56.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/15.65, allocations: 16.19 kB / 0.539 GB, free: 56.48 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.623602409963496]