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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 109.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.482/1.482, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.06847/0.06847, allocations: 14.41 MB / 296.1 MB, free: 8.645 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.91 kB / 415.4 MB, free: 40.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09211, allocations: 52.87 MB / 468.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.007214/0.09933, allocations: 5.502 MB / 473.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.1047, allocations: 2.99 MB / 476.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.1051, allocations: 11.94 kB / 476.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.1059, allocations: 266.4 kB / 477 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.1088, allocations: 1.247 MB / 478.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1099, allocations: 470.7 kB / 478.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.1118, allocations: 1.421 MB / 480.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.112, allocations: 49.7 kB / 480.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.1128, allocations: 0.51 MB / 480.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/0.1135, allocations: 0.5332 MB / 481.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.1137, allocations: 84 kB / 481.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000748/0.1144, allocations: 319.8 kB / 481.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.1146, allocations: 187.2 kB / 481.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.1151, allocations: 449.9 kB / 482.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.1168, allocations: 1.183 MB / 483.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1168, allocations: 0 / 483.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1168, allocations: 0 / 483.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1168, allocations: 0 / 483.5 MB, free: 4.516 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.004218/0.121, allocations: 1.39 MB / 484.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1211, allocations: 12.03 kB / 484.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1212, allocations: 78.72 kB / 484.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/0.1216, allocations: 116.4 kB / 485 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.1227, allocations: 0.5562 MB / 485.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.1228, allocations: 45.38 kB / 485.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.1229, allocations: 67.89 kB / 485.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.1238, allocations: 482 kB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1238, allocations: 4 kB / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.1238, allocations: 20 kB / 486.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1238, allocations: 8 kB / 486.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.1247, allocations: 491.7 kB / 486.7 MB, free: 1.156 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.005885/0.1306, allocations: 3.075 MB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.1321, allocations: 0.7375 MB / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.1325, allocations: 210.5 kB / 490.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.1325, allocations: 12.55 kB / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1326, allocations: 39.12 kB / 490.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.655e-06/0.1326, allocations: 0 / 490.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.003997/0.1366, allocations: 1.273 MB / 492 MB, free: 11.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1366, allocations: 55.97 kB / 492.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/0.1374, allocations: 0.5262 MB / 492.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.43e-05/0.1375, allocations: 49.69 kB / 492.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.1377, allocations: 261.4 kB / 492.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.1379, allocations: 237.9 kB / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.1382, allocations: 178.6 kB / 493.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1384, allocations: 370.8 kB / 493.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/0.1391, allocations: 317.9 kB / 494 MB, free: 9.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.1397, allocations: 401.4 kB / 494.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.1409, allocations: 0.6318 MB / 495 MB, free: 8.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1409, allocations: 0 / 495 MB, free: 8.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003463/0.1444, allocations: 1.275 MB / 496.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.1444, allocations: 11.94 kB / 496.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1444, allocations: 0 / 496.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/0.1473, allocations: 0.6223 MB / 496.9 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.1483, allocations: 219.7 kB / 497.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.1619, allocations: 11.51 MB / 0.4967 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.1628, allocations: 83.27 kB / 0.4968 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.1629, allocations: 31.98 kB / 0.4969 GB, free: 9.582 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.0003379/0.1632, allocations: 205.7 kB / 0.4971 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.1634, allocations: 67.52 kB / 0.4971 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.165, allocations: 0.7596 MB / 0.4979 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1651, allocations: 4 kB / 0.4979 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1651, allocations: 8 kB / 0.4979 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1651, allocations: 3.938 kB / 0.4979 GB, free: 8.52 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.002884/0.168, allocations: 1.606 MB / 0.4994 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.168, allocations: 4 kB / 0.4994 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/0.1686, allocations: 127.9 kB / 0.4996 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009023/0.1695, allocations: 248.5 kB / 0.4998 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.1696, allocations: 12 kB / 0.4998 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/0.1735, allocations: 2.612 MB / 0.5024 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1735, allocations: 4 kB / 0.5024 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.1758, allocations: 1.097 MB / 0.5034 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.1762, allocations: 200.5 kB / 0.5036 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.1763, allocations: 12 kB / 0.5036 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.1768, allocations: 23.94 kB / 0.5037 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.1769, allocations: 44.5 kB / 0.5037 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.1769, allocations: 16 kB / 0.5037 GB, free: 2.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000481/0.1774, allocations: 358.8 kB / 0.5041 GB, free: 1.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1774, allocations: 0 / 0.5041 GB, free: 1.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001001/0.1784, allocations: 279.9 kB / 0.5043 GB, free: 1.645 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.00269/0.1811, allocations: 1.7 MB / 0.506 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.1844, allocations: 1.635 MB / 0.5076 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.1844, allocations: 4 kB / 0.5076 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.1855, allocations: 0.4975 MB / 0.5081 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.1863, allocations: 103.3 kB / 0.5082 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.2002, allocations: 6.812 MB / 0.5148 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/0.2008, allocations: 0.8994 MB / 0.5157 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003512/0.2012, allocations: 68.84 kB / 0.5158 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.2016, allocations: 227.4 kB / 0.516 GB, free: 5.402 MB / 398.1 MB Notification: Performance of SimCode: time 2.154e-06/0.2016, allocations: 0 / 0.516 GB, free: 5.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3091/0.5107, allocations: 18.33 MB / 0.5339 GB, free: 57.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.74, allocations: 3.375 kB / 0.5339 GB, free: 57.41 MB / 398.1 MB " [Timeout remaining time 645] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.613697771914303]